Handles keyboard shortcuts in the browser.
combokeys is a fork of ccampbell/mousetrap with two main changes:
- Refactored as CommonJS
- Doesn't automatically listen on the document. Instead, it is now a constructor and the element on which to listen must be provided on instantiation.
npm install --save combokeys
1 2 3 4 5 6 7
Thanks to Shahar Or for porting