{"id":25376876,"url":"https://github.com/terrierscript/node-keyupdown","last_synced_at":"2025-10-30T08:31:26.970Z","repository":{"id":10446503,"uuid":"12614540","full_name":"terrierscript/node-keyupdown","owner":"terrierscript","description":"[experimental] emulate keyup and keydown on nodejs","archived":false,"fork":false,"pushed_at":"2014-11-19T06:23:07.000Z","size":145,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T12:17:42.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrierscript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-05T09:50:20.000Z","updated_at":"2020-12-17T11:01:24.000Z","dependencies_parsed_at":"2022-07-30T12:07:58.318Z","dependency_job_id":null,"html_url":"https://github.com/terrierscript/node-keyupdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fnode-keyupdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fnode-keyupdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fnode-keyupdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrierscript%2Fnode-keyupdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrierscript","download_url":"https://codeload.github.com/terrierscript/node-keyupdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238945642,"owners_count":19556701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-15T04:40:01.382Z","updated_at":"2025-10-30T08:31:26.686Z","avatar_url":"https://github.com/terrierscript.png","language":"JavaScript","readme":"node-keyupdown\n==============\n\nemulate keyup and keydown on nodejs.\n\n\n## Sample\n\n```javascript\nvar keydownup = require(\"./index\")\nkeydownup(process.stdin)\n\nprocess.stdin.on('keydown', function(){\n  console.log(\"keydown\")\n})\nprocess.stdin.on('keyup', function(){\n  console.log(\"keyup\")\n})\nprocess.stdin.on('keypress', function(ch, key){\n  console.log(\"keypress\")\n  if(key \u0026\u0026 key.name == \"c\" \u0026\u0026 key.ctrl){\n    console.log(\"exit\")\n    process.exit()\n  }\n})\nprocess.stdin.setRawMode(true);\nprocess.stdin.resume()\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fnode-keyupdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrierscript%2Fnode-keyupdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrierscript%2Fnode-keyupdown/lists"}