w3c-keycode
Map KeyEvent.keyCode to KeyEvent.code-style strings
Last updated 8 years ago by marijn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install w3c-keycode 
SYNC missed versions from official npm registry.

W3C keycode

Tiny library that exports an object that maps numeric browser key codes to KeyEvent.code strings. The full list of such codes (of which this library only supports a subset) is defined in this document.

License: MIT

Does not try to target ancient browsers, and leaves out obscure keys. Intended to use as a reasonable fallback for browsers that don't have native support for KeyEvent.code.

Current Tags

  • 1.0.0                                ...           latest (8 years ago)

1 Versions

  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE