jamiebuilds/tinykeys
A tiny (~650 B) & modern library for keybindings. observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 84
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 2228
- days_rel: n/a
- days_push: 99
- n_releases_24m: 0
Adoption not part of the score
4100 stars · 89 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
tinykeys is a tiny (~650 B) TypeScript library for binding keyboard shortcuts in the browser using a simple declarative syntax. It supports key sequences, modifier keys, and cross-platform modifier matching, and works with any framework or vanilla JS.
Use cases
- add keyboard shortcuts to a web app
- bind hotkeys like Cmd+B in a React component
- detect key sequences like the Konami code
- handle Ctrl+1..9 shortcuts across Windows and Mac
- replace Mousetrap with a modern tiny keybinding library
When to choose
- you need a minimal, dependency-free keyboard shortcut library for the browser
- you want framework-agnostic keybindings usable in React, Vue, Angular, or vanilla JS
- bundle size matters and you only need keybinding handling
When to avoid
- you need global OS-level hotkeys outside the browser
- you need complex shortcut management UI or scope-based shortcut systems
- you're building a non-web (Node, mobile native) application
Facets
library · maturity active
ui-components developer-tools accessibility web-development frontend developer-tools browser keybindings keyboard-shortcuts hotkeys tiny-library event-handling zero-dependency javascript typescript nodejs
3 sources
- readme: https://github.com/jamiebuilds/tinykeys · fetched 2026-08-28 · c085d277ba58
- homepage: https://jamiebuilds.github.io/tinykeys/ · fetched 2026-08-29 · f2ba83c9babc
- registry_npm: https://registry.npmjs.org/tinykeys · fetched 2026-08-29 · a5de6e1924b4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jamiebuilds/tinykeys | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="jamiebuilds/tinykeys")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem