{"id":18401626,"url":"https://github.com/linyimin0812/keypress-event","last_synced_at":"2025-06-15T01:37:53.549Z","repository":{"id":75351283,"uuid":"145088046","full_name":"linyimin0812/keypress-event","owner":"linyimin0812","description":"Listen to the key press","archived":false,"fork":false,"pushed_at":"2018-09-09T14:23:06.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T13:12:22.422Z","etag":null,"topics":["iohook","keypress","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/linyimin0812.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-17T07:35:23.000Z","updated_at":"2022-12-26T10:41:34.000Z","dependencies_parsed_at":"2023-06-06T05:45:23.357Z","dependency_job_id":null,"html_url":"https://github.com/linyimin0812/keypress-event","commit_stats":null,"previous_names":["linyimin-bupt/keypress-event"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyimin0812%2Fkeypress-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyimin0812%2Fkeypress-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyimin0812%2Fkeypress-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyimin0812%2Fkeypress-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linyimin0812","download_url":"https://codeload.github.com/linyimin0812/keypress-event/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610362,"owners_count":21132920,"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":["iohook","keypress","typescript"],"created_at":"2024-11-06T02:39:22.386Z","updated_at":"2025-04-12T17:49:51.087Z","avatar_url":"https://github.com/linyimin0812.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Capture the specified shortcut\n\n### Usage\n```typescript\nimport Keypress from 'keypress-event'\n\nKeypress.registerShortcut(['ctrl', 'alt', 'u'], () =\u003e {\n  console.log('Ctrl+Alt+u trigger')\n})\nKeypress.start()\n```\n\nWhen You press the shortcut at the sametime, the callback function will be executed.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinyimin0812%2Fkeypress-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinyimin0812%2Fkeypress-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinyimin0812%2Fkeypress-event/lists"}