UNPKG

@rwh/keystrokes

Version:

Keystrokes is an easy to use library for binding functions to keys and key combos. It can be used with any TypeScript or JavaScript project, even in non-browser environments.

7 lines (6 loc) • 126 B
import * as keystrokes from './index'; declare global { interface Window { keystrokes: typeof keystrokes; } }