RobertWHurst/KeyboardJS
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5392
- days_rel: n/a
- days_push: 1322
- n_releases_24m: 0
Adoption not part of the score
2103 stars · 221 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
KeyboardJS is a JavaScript library for binding keyboard combos and shortcuts in the browser (also Node.js compatible) without dealing with raw key codes. It supports complex combo sequences, keydown/keyup handlers, scoped contexts for single-page apps, and custom keyboard locales.
Use cases
- bind keyboard shortcuts in a web app
- handle key combos like ctrl+shift+s in javascript
- scope keyboard bindings to different parts of a single page app
- support non-US keyboard layouts for shortcuts
- detect key sequences like a then b then c
- prevent repeat firing when a key is held down
When to choose
- you need flexible key combo binding with sequences and contexts in a browser app
- you need custom keyboard locale support
- you're maintaining an existing project already using KeyboardJS
When to avoid
- starting a new project - the author recommends the successor library Keystrokes instead
- you need active development or frequent updates
- you need framework-specific hotkey handling with React/Vue integrations
Facets
library · maturity maintenance
developer-tools web-development frontend developer-tools browser keyboard-shortcuts key-bindings keyboard-combos event-handling hotkeys nodejs javascript
2 sources
- readme: https://github.com/RobertWHurst/KeyboardJS · fetched 2026-08-28 · 8ad540f9a24c
- homepage: http://robertwhurst.github.io/KeyboardJS/ · fetched 2026-08-29 · 7fea7ad032e2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| RobertWHurst/KeyboardJS | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="RobertWHurst/KeyboardJS")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem