{"_id":"w3c-keycode","_rev":"4067344","name":"w3c-keycode","description":"Map KeyEvent.keyCode to KeyEvent.code-style strings","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"marijn","email":"marijnh@gmail.com"}],"time":{"modified":"2025-10-13T19:23:03.000Z","created":"2016-07-22T14:49:16.545Z","1.0.0":"2016-07-22T14:49:16.545Z"},"users":{},"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/marijnh/w3c-keycode.git"},"versions":{"1.0.0":{"name":"w3c-keycode","version":"1.0.0","description":"Map KeyEvent.keyCode to KeyEvent.code-style strings","main":"index.js","repository":{"type":"git","url":"git+https://github.com/marijnh/w3c-keycode.git"},"keywords":["browser","key","event","key code"],"author":{"name":"Marijn Haverbeke","email":"marijnh@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/marijnh/w3c-keycode/issues"},"homepage":"https://github.com/marijnh/w3c-keycode#readme","gitHead":"ddb9fc8e604e7835dd7078ebe365f3f7267931ea","_id":"w3c-keycode@1.0.0","scripts":{},"_shasum":"e7cfd010d661a92eb60ba35b955b467cde6bfa74","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"marijn","email":"marijnh@gmail.com"},"maintainers":[{"name":"marijn","email":"marijnh@gmail.com"}],"dist":{"shasum":"e7cfd010d661a92eb60ba35b955b467cde6bfa74","size":1986,"noattachment":false,"key":"/w3c-keycode/-/w3c-keycode-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/w3c-keycode/download/w3c-keycode-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/w3c-keycode-1.0.0.tgz_1469198954555_0.5877053781878203"},"directories":{},"publish_time":1469198956545,"_hasShrinkwrap":false,"_cnpm_publish_time":1469198956545,"_cnpmcore_publish_time":"2021-12-16T17:20:37.608Z"}},"readme":"# W3C keycode\n\nTiny library that exports an object that maps numeric browser key\ncodes to\n[`KeyEvent.code`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code)\nstrings. The full list of such codes (of which this library only\nsupports a subset) is defined in\n[this document](https://w3c.github.io/uievents-code/).\n\nLicense: MIT\n\nDoes not try to target ancient browsers, and leaves out obscure keys.\nIntended to use as a reasonable fallback for browsers that don't have\nnative support for `KeyEvent.code`.\n","_attachments":{},"homepage":"https://github.com/marijnh/w3c-keycode#readme","bugs":{"url":"https://github.com/marijnh/w3c-keycode/issues"},"license":"MIT"}