{"_id":"shim-keyboard-event-key","_rev":"5-5fbce48454321d68c76e449e888a71a4","name":"shim-keyboard-event-key","description":"Tiny KeyboardEvent#key shim for IE and MS Edge","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"shim-keyboard-event-key","version":"1.0.0","description":"KeyboardEvent#key shim for IE and Edge","keywords":["keyboard","event","key","shim","ie","edge"],"bugs":{"url":"https://github.com/shvaikalesh/shim-keyboard-event-key/issues"},"license":"MIT","author":{"name":"Aleksey Shvayka","email":"shvaikalesh@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/shvaikalesh/shim-keyboard-event-key.git"},"gitHead":"ec4d8f8e6d80da2b45f36768d3987438b021eb47","homepage":"https://github.com/shvaikalesh/shim-keyboard-event-key#readme","_id":"shim-keyboard-event-key@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"},"dist":{"integrity":"sha512-kDiPp68t56/BYEuJ/wDxGbQM4Y/M++Ex+hCzd5JaaZFoocoieiHLvBA9d9kbi610fzCiMNc1SS87Zkgm4scApA==","shasum":"317f2281391494ba5cf5bd30743ac75ce8dccc1f","tarball":"https://registry.npmjs.org/shim-keyboard-event-key/-/shim-keyboard-event-key-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyTcYlnrlH3QYl0AbddTEy0lngDn+xwIIu+YTzGQukzQIgA0HdPZ50nrweJoD5Gei0e5B4sV982AIgz3//VpN5Cs4="}]},"maintainers":[{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shim-keyboard-event-key-1.0.0.tgz_1500518519425_0.9405468786135316"},"directories":{}},"1.0.1":{"name":"shim-keyboard-event-key","version":"1.0.1","description":"Tiny KeyboardEvent#key shim for IE and MS Edge","keywords":["keyboard-event","key","shim","polyfill","ie","ms-edge"],"bugs":{"url":"https://github.com/shvaikalesh/shim-keyboard-event-key/issues"},"license":"MIT","author":{"name":"Aleksey Shvayka","email":"shvaikalesh@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/shvaikalesh/shim-keyboard-event-key.git"},"gitHead":"25dc0062472ef6a4c8c7bb61ae24823e33ffbda6","homepage":"https://github.com/shvaikalesh/shim-keyboard-event-key#readme","_id":"shim-keyboard-event-key@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"},"dist":{"integrity":"sha512-9yJ+n8a3GyuLm6DUj8RnNcds/bijB6v6fX8szFuI7YyLa0pY1reEXzSzbftJCulVc/3WHaoBQuS+PoYr2+D42Q==","shasum":"ad8092f2b5b58c187689502858d5cfc0669d1c80","tarball":"https://registry.npmjs.org/shim-keyboard-event-key/-/shim-keyboard-event-key-1.0.1.tgz","fileCount":3,"unpackedSize":2089,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvYDEgYC0xHTP3yPFrMGqrNpOfBoAUcSuewQnwkS1lLAIhAJhiG2j9nzI9DcNlsJWAFMHorIFFQphN1sbFnOZfS5ya"}]},"maintainers":[{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shim-keyboard-event-key_1.0.1_1518836455612_0.2901844516389964"},"_hasShrinkwrap":false},"1.0.2":{"name":"shim-keyboard-event-key","version":"1.0.2","description":"Tiny KeyboardEvent#key shim for IE and MS Edge","keywords":["keyboard-event","key","shim","polyfill","ie","ms-edge"],"bugs":{"url":"https://github.com/shvaikalesh/shim-keyboard-event-key/issues"},"license":"MIT","author":{"name":"Aleksey Shvayka","email":"shvaikalesh@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/shvaikalesh/shim-keyboard-event-key.git"},"gitHead":"460389a2f11fb6336044f4986c5eb6e31336755f","homepage":"https://github.com/shvaikalesh/shim-keyboard-event-key#readme","_id":"shim-keyboard-event-key@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"},"dist":{"integrity":"sha512-5USwMKqCQSnFyGu33yTZICf/jdwoPNysqrZLtZEnh010EAI7463+gaCuuvR9cCY1Emixvw/yh5c29qmSvNLn1g==","shasum":"ba7f9dd7e54a808475713479ab2d2f77e1cc138b","tarball":"https://registry.npmjs.org/shim-keyboard-event-key/-/shim-keyboard-event-key-1.0.2.tgz","fileCount":3,"unpackedSize":2091,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtXEsYL+nFX34r0lhg1vKyZxmV8zbVPp255q+F1laECQIgUEsrQTmBS4tMPApNROGWpNoyAHyq01PU37LkuRPJZL4="}]},"maintainers":[{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shim-keyboard-event-key_1.0.2_1518836631531_0.835333595857652"},"_hasShrinkwrap":false},"1.0.3":{"name":"shim-keyboard-event-key","version":"1.0.3","description":"Tiny KeyboardEvent#key shim for IE and MS Edge","keywords":["keyboard-event","key","shim","polyfill","ie","ms-edge"],"bugs":{"url":"https://github.com/shvaikalesh/shim-keyboard-event-key/issues"},"license":"MIT","author":{"name":"Aleksey Shvayka","email":"shvaikalesh@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/shvaikalesh/shim-keyboard-event-key.git"},"gitHead":"7780fbf560856edc9981f8ff40503038466dbe38","homepage":"https://github.com/shvaikalesh/shim-keyboard-event-key#readme","_id":"shim-keyboard-event-key@1.0.3","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-PTNRkOxDlZ2+Xz4CbKJJsh/pe1DJdaC+b4HHV02A1aEWNmwh1g9am0ZiU/ktu3uVfQrY3yDHTOVhst3xpLhw2A==","shasum":"9a9441d6b7d1fb25819d86182caf554e821a515c","tarball":"https://registry.npmjs.org/shim-keyboard-event-key/-/shim-keyboard-event-key-1.0.3.tgz","fileCount":3,"unpackedSize":2121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchXK1CRA9TVsSAnZWagAA0jwP/36Oy7StoFgOjKFf7BpW\nKrSP8pj43NrvaT9Z8eIRPpowF3vJRuU6AbRqhuX82kH9lc4V/2TsRq3EZmze\n6xEclwrPiwb6xdlgj4iQ5MT9mWcR2qzOTSkoZ1Zd2QfMFTIlTjrMv4Y7169q\nVKNE3V5pjMaUFh0DCtmDElb+PMaEfvB5HW4fSXsII7tbYFfhuEtMOzqLeQfu\nYUZdIk2Qv670cettAQ6C0+IajxjdoUwnTwlwr0G/NkzviZdmr2gtSDCnCBgd\nJ8VoE4gFhttIHZhdj2tbtQ0WnwXys28htcXC5J6MxKlZSvi3vkvpKqJOfgJd\nJnDhwD9bJZBH7pA8f/7PBfxaB2oB0q8juIYvoDdQRszBBvXtLixjn9cvtK3G\nyPOH2QDCnrDvrMnPKz3SeeTi8zHlWUVZiQfLSG6g3x6v/PSWkFk2xz40BGmW\nJOgvMyya7xjIbHsaC9Lt1RFned+M9lq3IwoGmZ5s6U95UBuENOu2bbGxK41u\nu+iBC3q/e8mlG+VCUz1uix0ZMQvbxv3fv0JYP0u09xT7GKg7OMTUMPuu+rZW\n10AeQfp5PvPVxKvqBbeangcPDxy4lH86j124yjapXG61yx7zJ8X0fProbUlq\ne1PCVt4W9K84a/fst3wpZThn7zpSntMWtXcz08W/rsjbNp1wdw+nBHapR0RK\nECw4\r\n=Cv3r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC74duhHSlTByKTjwUlJCTtJF6/lwNLiSAb63a/v7yc/wIgaXdW9DerfJYY9jnrZHWZxYUjpXlZvWVmxegIkE+AA4o="}]},"maintainers":[{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"}],"_npmUser":{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shim-keyboard-event-key_1.0.3_1552249524408_0.7563873084922617"},"_hasShrinkwrap":false}},"readme":"# shim-keyboard-event-key\n\nTiny `KeyboardEvent#key` shim for IE and MS Edge.\n\n* [MS Edge bug report](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571)\n* [Can I use `key`?](http://caniuse.com/#feat=keyboardevent-key)\n* [W3C: UI Events spec](https://www.w3.org/TR/uievents)\n* [W3C: `key` values](https://www.w3.org/TR/uievents-key)\n\n## Up and running\n\nGet the package from [npm](https://www.npmjs.com/package/shim-keyboard-event-key):\n\n```sh\nnpm install shim-keyboard-event-key --save\n```\n\nAnd simply require the module:\n\n```js\nimport \"shim-keyboard-event-key\"\n```\n\nOtherwise, plug it the old-fashioned way:\n\n```html\n<script src=\"https://unpkg.com/shim-keyboard-event-key\" async></script>\n```\n\n## Example\n\n```js\ndocument.addEventListener(\"keyup\", event => {\n  if (event.defaultPrevented) return\n\n  switch (event.key) {\n    case \"ArrowLeft\":\n    case \"PageUp\":\n      player.prev()\n      break\n\n    case \"ArrowRight\":\n    case \"PageDown\":\n      player.next()\n      break\n  }\n})\n```\n","maintainers":[{"name":"shvaikalesh","email":"shvaikalesh@gmail.com"}],"time":{"modified":"2022-05-17T17:19:23.022Z","created":"2017-07-20T02:42:00.297Z","1.0.0":"2017-07-20T02:42:00.297Z","1.0.1":"2018-02-17T03:00:55.676Z","1.0.2":"2018-02-17T03:03:51.627Z","1.0.3":"2019-03-10T20:25:24.575Z"},"homepage":"https://github.com/shvaikalesh/shim-keyboard-event-key#readme","keywords":["keyboard-event","key","shim","polyfill","ie","ms-edge"],"repository":{"type":"git","url":"git+https://github.com/shvaikalesh/shim-keyboard-event-key.git"},"author":{"name":"Aleksey Shvayka","email":"shvaikalesh@gmail.com"},"bugs":{"url":"https://github.com/shvaikalesh/shim-keyboard-event-key/issues"},"license":"MIT","readmeFilename":"README.md"}