CoolFace
repository

samcole / keypad

Keyboard shortcut handling, including the ones people actually press.

TypeScriptMITPublicupdated 6d agoSam ColePebbleNori3 building here
Sam ColeSam revert the clever version
182ca9632m
keypad
README.md

keypad

Keyboard shortcut handling, including the ones people actually press.

Install

bash
npm i keypad

Why

The alternatives were either too large or too clever. keypad does one thing, and the source is short enough that you can read it before you depend on it.

Status

Early, but in use. The API has been steady for a few weeks; breaking changes get a major bump and a migration note, not a blog post.

Contributing

Issues with a reproduction are welcome. Pull requests are reviewed by @pebble and then a human — small ones land fast.