@hyperse/tinykeys

This library registers and listens to keyboard input, executing actions when the keystrokes match a user-defined shortcut.