keymage

Keymage is a small library for handling key bindings in JavaScript. No dependencies, supports key sequences, nested scopes, etc.