{"_id":"keycode","_rev":"41264","name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","dist-tags":{"latest":"2.2.1"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"time":{"modified":"2024-06-10T11:09:15.000Z","created":"2013-08-15T01:39:42.580Z","2.2.1":"2021-11-15T17:17:31.117Z","2.2.0":"2018-03-21T11:28:35.017Z","2.1.9":"2017-05-03T14:12:10.482Z","2.1.8":"2016-12-13T23:06:20.106Z","2.1.7":"2016-09-23T04:06:29.778Z","2.1.6":"2016-09-14T21:30:23.557Z","2.1.5":"2016-09-14T21:16:28.247Z","2.1.4":"2016-07-30T20:47:20.550Z","2.1.2":"2016-05-30T03:46:45.701Z","2.1.1":"2016-03-05T01:42:40.539Z","2.1.0":"2015-05-01T09:51:13.302Z","2.0.0":"2015-02-03T07:30:40.734Z","1.0.1":"2014-12-23T23:00:18.848Z","1.0.0":"2014-09-30T04:31:47.675Z","0.3.0":"2013-08-21T03:12:20.266Z","0.2.3":"2013-08-21T02:39:46.882Z","0.2.2":"2013-08-15T01:39:42.580Z"},"users":{"285858315":true,"ash":true,"akiva":true,"benji.":true,"mwyatt":true,"slurm":true,"vzg03566":true,"dreamanddead":true,"monjer":true,"mimshwright":true,"jmsherry":true,"zalithka":true,"cueedee":true,"jidan70":true,"assiduous":true,"nbuchanan":true,"muzi131313":true,"zhenguo.zhao":true},"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"versions":{"2.2.1":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.2.1","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^3.0.2"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./index.d.ts","gitHead":"c282ff62a4ff05a523d6026a66e83a4892e7f6e7","_id":"keycode@2.2.1","_nodeVersion":"16.11.1","_npmVersion":"8.1.3","dist":{"integrity":"sha512-Rdgz9Hl9Iv4QKi8b0OlCRQEzp4AgVxyCtz5S/+VIHezDmrDhkp2N2TqBWOLz0/gbeREXOOiI9/4b8BY9uw2vFg==","shasum":"09c23b2be0611d26117ea2501c2c391a01f39eff","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.2.1.tgz","fileCount":13,"unpackedSize":117694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2xGVCRA9TVsSAnZWagAA58AP/22QVxv3e5fKGXGWNjCV\nDvbf1cPNGL6N4HFTqURT2uK1Ld/fBGqVHo47SA+u4aCyEl3R2K15KHjnUUO7\n0VE3ZMo4P9hyA9uqyvqxLJ2viswyPc84+eCA7vEl3yZ6ZPcpJNV7lEE1pkVT\ni0V4dtSjrmXro955S/Dsf2t16HqJe0RKtL7rrqkHlqoL6OWQptMKiHCIgu6y\nmwduZTvecWy8HEO24u8x2tYY8s63qPtZUFMKl+XP92I2/NCf4hemt28HQHim\njT5z1CHwcpUiryyujLaHTPx6G7zdDXUiHEzrI6g28iMzHy3FEO9BcS8U40MQ\n339Dl63XNsh06WAKVC4dL3QsBWwQmJSwsqBtfOul/5r44erPjaScuSoOPBNN\nLlPs4K9R+jrRi3xf3uS7KvYj9k3kNTisAC8/mPA8vX/mjCzcvoWa6tWpUVPX\ndvTWwPRqZQboXQB4vafZAFABCZdUPE5oUiEH7yfHf3FILZ4rVWbrjQI0se4v\nO688k4v1JUhWwgASDVLoq4nsDiFz0A/I9diQOAi2EvKr+QY+giDD5ZfTSmmv\ncHrWSf9pBX68ud0rvNzeFuXQ2gEj/E+ShnH4n/2D5IxwW5Dvb7Fet222s3mS\naWPYO1vN0oYG6Io12IHyu+f3WoYUEAgfYTS33lG/4VudPUXKRVznaMBRMDan\nXZOr\r\n=euUh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdTGvYh8K11SDhHDLCQBwNE5dLhRCgw/ftHhvHLgHZeQIhAP68ofH64jTSgpTgIWPziojOq3ydO/Y/HBusV+JDF9yr"}],"size":28354,"noattachment":false,"key":"/keycode/-/keycode-2.2.1.tgz"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keycode_2.2.1_1636996650687_0.8238794930549347"},"_hasShrinkwrap":false,"publish_time":1636996651117,"_cnpm_publish_time":1636996651117},"2.2.0":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.2.0","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^3.0.2"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./keycode.d.ts","gitHead":"907ed6ecaab6a32671ece058edb93bede3543827","_id":"keycode@2.2.0","_shasum":"3d0af56dc7b8b8e5cba8d0a97f107204eec22b04","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.4","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"dist":{"shasum":"3d0af56dc7b8b8e5cba8d0a97f107204eec22b04","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.2.0.tgz","fileCount":14,"unpackedSize":117726,"integrity":"sha512-ps3I9jAdNtRpJrbBvQjpzyFbss/skHqzS+eu4RxKLaEAtFqkjZaB6TZMSivPbLxf4K7VI4SjR0P5mRCX5+Q25A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAi8db0vSS6seej7+wbJpUekn6cKRs4Zrdb/CxRTyVGCAiA5u1i/8d2CF/WWphAZr3MPXjzLv1hE9Mp59p1dsl9+Lg=="}],"size":28563,"noattachment":false,"key":"/keycode/-/keycode-2.2.0.tgz"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/keycode_2.2.0_1521631714793_0.9270165937774029"},"_hasShrinkwrap":false,"publish_time":1521631715017,"_cnpm_publish_time":1521631715017},"2.1.9":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.9","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^3.0.2"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./keycode.d.ts","gitHead":"0cad233de8b7dbad00bb7d6bbb952c79c630fcec","_id":"keycode@2.1.9","_shasum":"964a23c54e4889405b4861a5c9f0480d45141dfa","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"dist":{"shasum":"964a23c54e4889405b4861a5c9f0480d45141dfa","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.9.tgz","integrity":"sha512-VjQwHsY8pefXcvkxPBKi/qTZECxnetWwsjGpV2ez6Q/OuAsm5t9K2/vwigmaNw1gy3cvzJlnGyU3dOwkwhGpwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmWypEup/163g1H2os5pftuvRkek7KBbqflRNm8KBbqAiAvpN7bAcXOYchjWt0c64KZuVG0ad+qx8tAF+5csbm9Zw=="}],"size":28021,"noattachment":false,"key":"/keycode/-/keycode-2.1.9.tgz"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/keycode-2.1.9.tgz_1493820728219_0.2873733432497829"},"publish_time":1493820730482,"_cnpm_publish_time":1493820730482},"2.1.8":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.8","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^3.0.2"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./keycode.d.ts","gitHead":"1a9dc9c571e6c96c2c282afde723a6b72464c14e","_id":"keycode@2.1.8","_shasum":"94d2b7098215eff0e8f9a8931d5a59076c4532fb","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"dist":{"shasum":"94d2b7098215eff0e8f9a8931d5a59076c4532fb","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.8.tgz","integrity":"sha512-ydWXQ9L0ctnH9QSrvPVk13Dt5IBIQQ/bM7pxFJWPGLiPO6OLBSq/Y9Ij2acYCqB2gM/VblDhDkPFj/5CO5Mltg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICe97l2vdH+8HIxqpP+34w971KR5+YY81ALrkamKOQYpAiEAjj0Gh7AnFTHvi5T3U9SsNktiZUXCHpdVx9+DUIx1phk="}],"size":28025,"noattachment":false,"key":"/keycode/-/keycode-2.1.8.tgz"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/keycode-2.1.8.tgz_1481670378047_0.5840517964679748"},"publish_time":1481670380106,"_cnpm_publish_time":1481670380106},"2.1.7":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.7","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^3.0.2"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./keycode.d.ts","gitHead":"64aa2c645c2cf2696420e270c38e6b5796238ea4","_id":"keycode@2.1.7","_shasum":"7b9255919f6cff562b09a064d222dca70b020f5c","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"dist":{"shasum":"7b9255919f6cff562b09a064d222dca70b020f5c","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.7.tgz","integrity":"sha512-f0g0fiPTy1dWDtSxipy/+ag4saCh/f0anFuRLclmdLubPi/fqV3QfvbjUIlyNlUJQsOqmJ2aCpoHrMVPOPnaIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLwo4DVA6XifPPN32GO1fqa5wu/aCrjDdjs7qX4htO5AiBmiExcKluq+CxttH0yW+Btzltl3LyQjPgm+BM9cGqx7Q=="}],"size":27591,"noattachment":false,"key":"/keycode/-/keycode-2.1.7.tgz"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycode-2.1.7.tgz_1474603589559_0.2023061728104949"},"publish_time":1474603589778,"_cnpm_publish_time":1474603589778},"2.1.6":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.6","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^3.0.2"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./keycode.d.ts","gitHead":"ad4a213705b1cb569388953fab727ad710a440a4","_id":"keycode@2.1.6","_shasum":"d7c3b49885d6a67ed9bf3688010c7b91de630f40","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"dist":{"shasum":"d7c3b49885d6a67ed9bf3688010c7b91de630f40","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.6.tgz","integrity":"sha512-sSmeBkzSWVSKAn1gTo443mY/K94w6oAGISTMBheIwq4x4ASAXSF9vulOLgKDtDrLJMY0d+bCl+pl5+j97H3Mlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpAVvrS7dy6hHQIVuEk0UNHj/SIivoitj0Ha2AcxjBKgIgAlWw3AJ3DvTikMQ8A+HoMe6kp8OMvyeJnqyAdhIvmxc="}],"size":27599,"noattachment":false,"key":"/keycode/-/keycode-2.1.6.tgz"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycode-2.1.6.tgz_1473888623309_0.40224721608683467"},"publish_time":1473888623557,"_cnpm_publish_time":1473888623557},"2.1.5":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.5","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^3.0.2"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./keycode.d.ts","gitHead":"edd0cf4c90dd4365aefa6c8362e8546ad333bbcd","_id":"keycode@2.1.5","_shasum":"7ab0072ad676e128eb2ccd83f52858b0ffee4f4d","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.3.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"dist":{"shasum":"7ab0072ad676e128eb2ccd83f52858b0ffee4f4d","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.5.tgz","integrity":"sha512-w676cZTrfDWuEagRpUrngrTxJGPzUqfFO7A4KMGJ8++5NWHwO0Y1AzzsI5KFPRjVdb1/jtsmyzk8dxcMxJIjLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFwdQa8JpMfyZxGJzxxQn8g+ABa4sd5x28vgGfQn6lbRAiEAzs2U05tGLsW0Y6+s0qbhdIFYfsRkgqKldO6LIKLGOi8="}],"size":27620,"noattachment":false,"key":"/keycode/-/keycode-2.1.5.tgz"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/keycode-2.1.5.tgz_1473887785871_0.637976631289348"},"publish_time":1473887788247,"_cnpm_publish_time":1473887788247},"2.1.4":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.4","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^2.4.5"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"typings":"./keycode.d.ts","gitHead":"99053f0147375432ba34a1fde50dd79f8a07222b","_id":"keycode@2.1.4","_shasum":"faa717f03ceb1661b9f322c6c89d239eee96bcde","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"faa717f03ceb1661b9f322c6c89d239eee96bcde","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.4.tgz","integrity":"sha512-uSoOH4INZEwL+H+oQ0yFcxU4Mx3m2lUe9Iesk5LHtYj6rKwe0ixT0x0ly+XoWWL1OXCt5pwjgcNiyG8GOcvjHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqHjbLkh3bCNP9N1EOngt4JyJxo9Ex+h+18lBLOIT9uwIgHyROy+HUxgNaYKHCahVIpxDwxPCqCRKKn2CGf3c2wfU="}],"size":27625,"noattachment":false,"key":"/keycode/-/keycode-2.1.4.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycode-2.1.4.tgz_1469911640310_0.2877988100517541"},"publish_time":1469911640550,"_cnpm_publish_time":1469911640550},"2.1.2":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.2","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^2.4.5"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"gitHead":"0b1d667252371e8be4c240751be5a96b2043905d","_id":"keycode@2.1.2","_shasum":"23bbe2308de2f72be763ec2ef4e8c4f87e458d57","_from":".","_npmVersion":"3.9.5","_nodeVersion":"5.10.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"23bbe2308de2f72be763ec2ef4e8c4f87e458d57","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.2.tgz","integrity":"sha512-Ml3snH2wsGU6CjlAzITCnv9YuCGy4YkyGVn+Kh+3bYZGdpbJtLWA7ASgXsmp3BxGbMRMZdjrWecPy+egwURTHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW2s0G/SBmRlk0YVr+a2+eCloTdt7Lx/9wRy/Ta0pbLAIhANh9qaytvQX96nkSk13vQl4/KS3ZGKQgNo8JagVeTejF"}],"size":27486,"noattachment":false,"key":"/keycode/-/keycode-2.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycode-2.1.2.tgz_1464580003485_0.7524782784748822"},"publish_time":1464580005701,"_cnpm_publish_time":1464580005701},"2.1.1":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.1","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^2.4.5"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"gitHead":"91768d981a262038c1ebe2caf5709401a0ef0557","_id":"keycode@2.1.1","_shasum":"d9027a47934756c2b70d1b82b2f74eeccf30f9bc","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1-rc.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"d9027a47934756c2b70d1b82b2f74eeccf30f9bc","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.1.tgz","integrity":"sha512-TnYdfmu397H2FNWSG4Ie+1KAR2EC+LIrgfeR4h/c8ht1ujVQfivYZE+B5dH7ANcDXprQPJTOLjVQwroF4g4XXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9vae3TjlNIL/+cmIQKRm2OT8FSrgH7I49giI2q8KDBgIhAJ+Jms8Gb9/b+spMhGf5EtCS6PUrrEFEtF9ggaBEGNRh"}],"size":27390,"noattachment":false,"key":"/keycode/-/keycode-2.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/keycode-2.1.1.tgz_1457142159226_0.7151744919829071"},"publish_time":1457142160539,"_cnpm_publish_time":1457142160539},"2.1.0":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.1.0","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^2.1.0"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"gitHead":"5d1b4abaadefa6db89cfd6947408f8ea33c60e81","_id":"keycode@2.1.0","_shasum":"a37fd465a77753de3bc2415d1bc2883ccb4a3464","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"a37fd465a77753de3bc2415d1bc2883ccb4a3464","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.1.0.tgz","integrity":"sha512-DQiDpZnS/blZ0HdgMH1zugGvCcSmCXsebblGS8OFh9G+tvbiI8EeuK9Lur71Gne29/aS0KGtzNtQGRXe7zrU4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHgp6vWOAEMR8A+CUJuBggILixqY0+vyPgtF0sehlCY4AiBtw4p0hdBMNlPIYOjEg7f4wwhds80/nH6ipJVPKACtow=="}],"size":27393,"noattachment":false,"key":"/keycode/-/keycode-2.1.0.tgz"},"publish_time":1430473873302,"_cnpm_publish_time":1430473873302},"2.0.0":{"name":"keycode","description":"Convert between keyboard keycodes and keynames and vice versa.","version":"2.0.0","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"^2.1.0"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"gitHead":"2b2e45ad8d320b27eb28e3671fc1dd8163dc2a5c","_id":"keycode@2.0.0","_shasum":"b445237438d1a3e794a258b5029bcbfa939b5c80","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"b445237438d1a3e794a258b5029bcbfa939b5c80","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-2.0.0.tgz","integrity":"sha512-R4JLGwXSf5J0G0EQgBkZujoIdQZRH0t6BBZq0h/uW3FNDo0q9yxs1QwPe7nZrxevkFVVnvlNb1DvfKT5dkEEkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYVbkzPpGO8tZ1kHlV/IHYn5LT+4/3RKj9ohJY+4VCFAiEAlAUx247euuCJAF5lo7Ytg+aOIZnW9bLVo0WkkonYwkM="}],"size":27149,"noattachment":false,"key":"/keycode/-/keycode-2.0.0.tgz"},"publish_time":1422948640734,"_cnpm_publish_time":1422948640734},"1.0.1":{"name":"keycode","description":"Map of keyboard codes","version":"1.0.1","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"author":{"name":"Tim Oxley"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"~1.12.0"},"homepage":"https://github.com/timoxley/keycode","dependencies":{},"keywords":[],"gitHead":"2ac43a93086ace949db4e1be1dc3ed9a990f7733","_id":"keycode@1.0.1","_shasum":"6071ee15c68e9f3876cb786ecdcadb648d38f8c7","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.10.33","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"6071ee15c68e9f3876cb786ecdcadb648d38f8c7","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-1.0.1.tgz","integrity":"sha512-tlPg2i9Dyv/9TfGrV3rMiMRztzNzT17lzohhoG3Rn5xYjb35ZjemeP2IHWCpmAjhoGQlKYeymbCdm0pKsZriug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzp4IL0SkvAJOAWlkgbZc/slo/OWAwTDAHDD7ngrMSVQIhAPQL050XSSvj+NkEWLQw3eUvPUd9vhJgnalfh2ZKtQyG"}],"size":26315,"noattachment":false,"key":"/keycode/-/keycode-1.0.1.tgz"},"publish_time":1419375618848,"_cnpm_publish_time":1419375618848},"1.0.0":{"name":"keycode","repo":"timoxley/keycode","description":"Map of keyboard codes","version":"1.0.0","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"author":{"name":"Tim Oxley"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"devDependencies":{"mocha":"~1.12.0"},"gitHead":"284e9870bb5906f626dd22b5172f280dfec4ac2b","homepage":"https://github.com/timoxley/keycode","_id":"keycode@1.0.0","_shasum":"7d860a085bbb2d3f36ff4fcb9734b8ef2fa92243","_from":".","_npmVersion":"2.1.1","_nodeVersion":"0.10.32","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"7d860a085bbb2d3f36ff4fcb9734b8ef2fa92243","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-1.0.0.tgz","integrity":"sha512-F4BPn4Rk9ZzWT2I/KdMhC0EScg7BnLIuhBXYFScpH2PJqyeDxvHOQjDDIMre0DryPFdktfVgecp9UQtWIDf06g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDCmj0iwQW5k123M00L/7ORGELv+IryMHG1bNlTKkBeHAiEAiS4PJwirkzidtEaVbolJ05cK60kvb18vCbODqBoAUCQ="}],"size":26275,"noattachment":false,"key":"/keycode/-/keycode-1.0.0.tgz"},"publish_time":1412051507675,"_cnpm_publish_time":1412051507675},"0.3.0":{"name":"keycode","repo":"timoxley/keycode","description":"Map of keyboard codes","version":"0.3.0","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"author":{"name":"Tim Oxley"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"_id":"keycode@0.3.0","dist":{"shasum":"d2944da65897777d9bb24cae613979405fc24913","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-0.3.0.tgz","integrity":"sha512-3k75AjzS6p34cUSkMjwEcYpHO2T3NzRbE21OpvFskd+2Dj/Nu5VG6hcTZM4NTuek/rSUEVOuF3xvEg13Zbzr6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqqXMl+4Wa/ujlTtAs97uwEnKBrmwSeSne6poUP8B4WQIgLpSiBRo1hi1Zq5CXBLRktzTY3tmoLrwoExNE7vQGkBE="}],"size":26142,"noattachment":false,"key":"/keycode/-/keycode-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"publish_time":1377054740266,"_cnpm_publish_time":1377054740266},"0.2.3":{"name":"keycode","repo":"timoxley/keycode","description":"Map of keyboard codes","version":"0.2.3","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"author":{"name":"Tim Oxley"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"_id":"keycode@0.2.3","dist":{"shasum":"fb7f11287653f781e842cfc71735f5d07863ad91","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-0.2.3.tgz","integrity":"sha512-UCRhEMcEG//dCfNkUGHyx03SVNFCAvjDgsHt1aWfv1bNtlYXNsc82TtSkuM+GI6musNf4PLUOaXr9zOjFQSzAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1RgD4XdMvlPhrKqoXCpsHLcZhOXe36zWcEV7a1YuZgwIhAI+sIfR+nBYjD9WWm/OP30iLETr6H7dx5Vqxf390xbNZ"}],"size":25876,"noattachment":false,"key":"/keycode/-/keycode-0.2.3.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"publish_time":1377052786882,"_cnpm_publish_time":1377052786882},"0.2.2":{"name":"keycode","repo":"timoxley/keycode","description":"Map of keyboard codes","version":"0.2.2","main":"index.js","directories":{"example":"examples","test":"test"},"scripts":{"test":"mocha test/keycode.js"},"repository":{"type":"git","url":"git://github.com/timoxley/keycode.git"},"author":{"name":"Tim Oxley"},"license":"MIT","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"_id":"keycode@0.2.2","dist":{"shasum":"69a8b1aa88a5ac206f2a7bad6a908373437c7cbd","tarball":"http://registry-npm.ywwl.com/keycode/download/keycode-0.2.2.tgz","integrity":"sha512-dEWlt3qvjN7Tg4NfStJ/5p4ezpARdoRRHsUUcyO2PQpybPIxqWtTK96MUATxQX2KfahnLDGU2lxg5nJFeypjBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYDOUMinAlrLkV4LsDPc1Gzn+ALKy6dKd9dJwLia+xdAIhANouM5b11lZi+6SeeESXwoan4PmT4OdtBmFie4H543R7"}],"size":25713,"noattachment":false,"key":"/keycode/-/keycode-0.2.2.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"publish_time":1376530782580,"_cnpm_publish_time":1376530782580}},"readme":"# keycode\n\n  Simple map of keyboard codes.\n\n[![Build Status](https://travis-ci.org/timoxley/keycode.png?branch=master)](https://travis-ci.org/timoxley/keycode)\n\n## Installation\n\n#### npm\n\n```sh\n$ npm install keycode\n```\n\n#### component\n```sh\n$ component install timoxley/keycode\n```\n\n## Example\n\n```js\nvar keycode = require('keycode');\ndocument.addEventListener('keydown', function(e) {\n  console.log(\"You pressed\", keycode(e))\n})\n```\n\n## API\n\n`keycode` tries to make an intelligent guess as to what\nyou're trying to discover based on the type of argument\nyou supply.\n\n### keycode(keycode:Event)\n\nReturns the name of the key associated with this event.\n\n```js\ndocument.body.addEventListener('keyup', function(e) {\n  console.log(keycode(e)) // prints name of key\n})\n```\n\n[Due to the keypress event being weird](https://github.com/timoxley/keycode/wiki/wtf%3F-keydown,-keyup-vs-keypress),`keycode `currently does not support the `keypress` event, but this should not be an issue as `keydown` and `keyup` work perfectly fine.\n\n### keycode(keycode:Number)\n\nReturns the lowercase name of a given numeric keycode.\n\n```js\nkeycode(13) // => 'enter'\n```\n\n### keycode(name:String)\n\nReturns the numeric keycode for given key name.\n\n```js\nkeycode('Enter') // => 13\n\n// keycode is not case sensitive\nkeycode('eNtEr') // => 13\n```\n\n### Name Aliases\n\nCommon aliases are also supplied:\n\n```js\n> for (var alias in keycode.aliases) { console.log(alias, keycode(keycode(alias))) }\nctl ctrl\npause pause/break\nbreak pause/break\ncaps caps lock\nescape esc\npgup page up\npgdn page down\nins insert\ndel delete\nspc space\n```\n\n## keycode.isEventKey(event: Event, nameOrCode: String | Number)\n\nTests if an keyboard event against a given name or keycode.\nWill return `true` if the event matches the given name or keycode, `false` otherwise.\n\n```js\n// assume event is an keydown event with key 'enter'\nkeycode.isEventKey(event, 'enter') // => true\nkeycode.isEventKey(event, 'down') // => false\n\nkeycode.isEventKey(event, 13) // => true\nkeycode.isEventKey(event, 40) // => false\n```\n\n\n## Maps\n\nKey code/name maps are available directly as `keycode.codes` and `keycode.names` respectively.\n\n```js\nkeycode.names[13] // => 'enter'\nkeycode.codes['enter'] // => 13\n```\n\n## Credit\n\n```\n project  : keycode\n repo age : 3 years, 8 months\n active   : 29 days\n commits  : 66\n files    : 13\n authors  :\n    49\tTim Oxley        74.3%\n     4\tjkroso           6.1%\n     3\tAmir Abu Shareb  4.5%\n     1\tGreg Reimer      1.5%\n     1\tKenan Yildirim   1.5%\n     1\tAbel Toledano    1.5%\n     1\tSam              1.5%\n     1\tTJ Holowaychuk   1.5%\n     1\tYoshua Wuyts     1.5%\n     1\tNathan Zadoks    1.5%\n     1\tBrenton Simpson  1.5%\n     1\tBrian Noguchi    1.5%\n     1\tGilad Peleg      1.5%\n```\n\nOriginal key mappings lifted from http://jsfiddle.net/vWx8V/ via http://stackoverflow.com/questions/5603195/full-list-of-javascript-keycodes\n\n## License\n\n[MIT](http://opensource.org/licenses/mit-license.php)\n","_attachments":{},"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"license":"MIT"}