{"id":18753600,"url":"https://github.com/auracletech/hotkeys","last_synced_at":"2025-06-30T21:07:23.135Z","repository":{"id":224498198,"uuid":"763274057","full_name":"AuracleTech/hotkeys","owner":"AuracleTech","description":"hotkeys module in TypeScript for hotkeys","archived":false,"fork":false,"pushed_at":"2024-04-03T17:25:11.000Z","size":266,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T21:07:17.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AuracleTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-26T01:11:35.000Z","updated_at":"2024-02-27T11:12:45.000Z","dependencies_parsed_at":"2024-11-07T17:48:45.369Z","dependency_job_id":null,"html_url":"https://github.com/AuracleTech/hotkeys","commit_stats":null,"previous_names":["auracletech/hotkeys"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AuracleTech/hotkeys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuracleTech%2Fhotkeys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuracleTech%2Fhotkeys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuracleTech%2Fhotkeys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuracleTech%2Fhotkeys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AuracleTech","download_url":"https://codeload.github.com/AuracleTech/hotkeys/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AuracleTech%2Fhotkeys/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262850263,"owners_count":23374355,"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":"2024-11-07T17:26:22.214Z","updated_at":"2025-06-30T21:07:23.109Z","avatar_url":"https://github.com/AuracleTech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hotkeys\r\n\r\nhotkeys module in TypeScript for easy to add hotkeys\r\n\r\n##### Example\r\n\r\n![Example](example.png)\r\n\r\n##### Requirements\r\n\r\n- get `hotkeys.scss` and `hotkeys.ts`\r\n\r\n##### Usage\r\n\r\ninitialization\r\n\r\n```typescript\r\nimport \"../SCSS/hotkeys.scss\";\r\nimport { Hotkeys } from \"./hotkeys.ts\";\r\n\r\nconst hotkeys = new Hotkeys();\r\n```\r\n\r\ncreate a hotkey\r\n\r\n```typescript\r\nhotkeys.set({\r\n\tkey: \"h\",\r\n\tshort: \"Toggle Hotkeys\",\r\n\tlong: \"Toggle the hotkeys modal display\",\r\n\tfunc: () =\u003e hotkeys.toggle_modal(),\r\n\texperimental: false,\r\n});\r\n```\r\n\r\nremove a hotkey\r\n\r\n```typescript\r\nhotkeys.remove(\"h\");\r\n```\r\n\r\nprint keys names available\r\n\r\n```typescript\r\nfor (const row of Hotkeys.KEYBOARD_KEYS) {\r\n\tfor (const column of row) {\r\n\t\tconsole.log(column);\r\n\t}\r\n}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauracletech%2Fhotkeys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauracletech%2Fhotkeys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauracletech%2Fhotkeys/lists"}