{"_id":"keycode","_rev":"50-faab2a1bfb351fc6397d3cc31d662b6b","name":"keycode","dist-tags":{"latest":"2.2.1"},"versions":{"0.2.2":{"name":"keycode","version":"0.2.2","author":{"name":"Tim Oxley"},"license":"MIT","_id":"keycode@0.2.2","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"69a8b1aa88a5ac206f2a7bad6a908373437c7cbd","tarball":"https://registry.npmjs.org/keycode/-/keycode-0.2.2.tgz","integrity":"sha512-dEWlt3qvjN7Tg4NfStJ/5p4ezpARdoRRHsUUcyO2PQpybPIxqWtTK96MUATxQX2KfahnLDGU2lxg5nJFeypjBQ==","signatures":[{"sig":"MEYCIQDYDOUMinAlrLkV4LsDPc1Gzn+ALKy6dKd9dJwLia+xdAIhANouM5b11lZi+6SeeESXwoan4PmT4OdtBmFie4H543R7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","repo":"timoxley/keycode","_from":".","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"1.3.2","description":"Map of keyboard codes","directories":{"test":"test","example":"examples"}},"0.2.3":{"name":"keycode","version":"0.2.3","author":{"name":"Tim Oxley"},"license":"MIT","_id":"keycode@0.2.3","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"fb7f11287653f781e842cfc71735f5d07863ad91","tarball":"https://registry.npmjs.org/keycode/-/keycode-0.2.3.tgz","integrity":"sha512-UCRhEMcEG//dCfNkUGHyx03SVNFCAvjDgsHt1aWfv1bNtlYXNsc82TtSkuM+GI6musNf4PLUOaXr9zOjFQSzAQ==","signatures":[{"sig":"MEYCIQD1RgD4XdMvlPhrKqoXCpsHLcZhOXe36zWcEV7a1YuZgwIhAI+sIfR+nBYjD9WWm/OP30iLETr6H7dx5Vqxf390xbNZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","repo":"timoxley/keycode","_from":".","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"1.3.2","description":"Map of keyboard codes","directories":{"test":"test","example":"examples"}},"0.3.0":{"name":"keycode","version":"0.3.0","author":{"name":"Tim Oxley"},"license":"MIT","_id":"keycode@0.3.0","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"d2944da65897777d9bb24cae613979405fc24913","tarball":"https://registry.npmjs.org/keycode/-/keycode-0.3.0.tgz","integrity":"sha512-3k75AjzS6p34cUSkMjwEcYpHO2T3NzRbE21OpvFskd+2Dj/Nu5VG6hcTZM4NTuek/rSUEVOuF3xvEg13Zbzr6w==","signatures":[{"sig":"MEUCIQCqqXMl+4Wa/ujlTtAs97uwEnKBrmwSeSne6poUP8B4WQIgLpSiBRo1hi1Zq5CXBLRktzTY3tmoLrwoExNE7vQGkBE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","repo":"timoxley/keycode","_from":".","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"1.3.2","description":"Map of keyboard codes","directories":{"test":"test","example":"examples"}},"1.0.0":{"name":"keycode","version":"1.0.0","author":{"name":"Tim Oxley"},"license":"MIT","_id":"keycode@1.0.0","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"7d860a085bbb2d3f36ff4fcb9734b8ef2fa92243","tarball":"https://registry.npmjs.org/keycode/-/keycode-1.0.0.tgz","integrity":"sha512-F4BPn4Rk9ZzWT2I/KdMhC0EScg7BnLIuhBXYFScpH2PJqyeDxvHOQjDDIMre0DryPFdktfVgecp9UQtWIDf06g==","signatures":[{"sig":"MEUCIDCmj0iwQW5k123M00L/7ORGELv+IryMHG1bNlTKkBeHAiEAiS4PJwirkzidtEaVbolJ05cK60kvb18vCbODqBoAUCQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","repo":"timoxley/keycode","_from":".","_shasum":"7d860a085bbb2d3f36ff4fcb9734b8ef2fa92243","gitHead":"284e9870bb5906f626dd22b5172f280dfec4ac2b","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"2.1.1","description":"Map of keyboard codes","directories":{"test":"test","example":"examples"},"_nodeVersion":"0.10.32","devDependencies":{"mocha":"~1.12.0"}},"1.0.1":{"name":"keycode","version":"1.0.1","keywords":[],"author":{"name":"Tim Oxley"},"license":"MIT","_id":"keycode@1.0.1","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"6071ee15c68e9f3876cb786ecdcadb648d38f8c7","tarball":"https://registry.npmjs.org/keycode/-/keycode-1.0.1.tgz","integrity":"sha512-tlPg2i9Dyv/9TfGrV3rMiMRztzNzT17lzohhoG3Rn5xYjb35ZjemeP2IHWCpmAjhoGQlKYeymbCdm0pKsZriug==","signatures":[{"sig":"MEYCIQDzp4IL0SkvAJOAWlkgbZc/slo/OWAwTDAHDD7ngrMSVQIhAPQL050XSSvj+NkEWLQw3eUvPUd9vhJgnalfh2ZKtQyG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6071ee15c68e9f3876cb786ecdcadb648d38f8c7","gitHead":"2ac43a93086ace949db4e1be1dc3ed9a990f7733","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"2.1.11","description":"Map of keyboard codes","directories":{"test":"test","example":"examples"},"_nodeVersion":"0.10.33","dependencies":{},"devDependencies":{"mocha":"~1.12.0"}},"2.0.0":{"name":"keycode","version":"2.0.0","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.0.0","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"b445237438d1a3e794a258b5029bcbfa939b5c80","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.0.0.tgz","integrity":"sha512-R4JLGwXSf5J0G0EQgBkZujoIdQZRH0t6BBZq0h/uW3FNDo0q9yxs1QwPe7nZrxevkFVVnvlNb1DvfKT5dkEEkw==","signatures":[{"sig":"MEUCIAYVbkzPpGO8tZ1kHlV/IHYn5LT+4/3RKj9ohJY+4VCFAiEAlAUx247euuCJAF5lo7Ytg+aOIZnW9bLVo0WkkonYwkM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"b445237438d1a3e794a258b5029bcbfa939b5c80","gitHead":"2b2e45ad8d320b27eb28e3671fc1dd8163dc2a5c","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"2.3.0","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"0.10.35","dependencies":{},"devDependencies":{"mocha":"^2.1.0"}},"2.1.0":{"name":"keycode","version":"2.1.0","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.0","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"a37fd465a77753de3bc2415d1bc2883ccb4a3464","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.0.tgz","integrity":"sha512-DQiDpZnS/blZ0HdgMH1zugGvCcSmCXsebblGS8OFh9G+tvbiI8EeuK9Lur71Gne29/aS0KGtzNtQGRXe7zrU4Q==","signatures":[{"sig":"MEQCIHgp6vWOAEMR8A+CUJuBggILixqY0+vyPgtF0sehlCY4AiBtw4p0hdBMNlPIYOjEg7f4wwhds80/nH6ipJVPKACtow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"a37fd465a77753de3bc2415d1bc2883ccb4a3464","gitHead":"5d1b4abaadefa6db89cfd6947408f8ea33c60e81","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"2.8.3","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"1.8.1","dependencies":{},"devDependencies":{"mocha":"^2.1.0"}},"2.1.1":{"name":"keycode","version":"2.1.1","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.1","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"d9027a47934756c2b70d1b82b2f74eeccf30f9bc","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.1.tgz","integrity":"sha512-TnYdfmu397H2FNWSG4Ie+1KAR2EC+LIrgfeR4h/c8ht1ujVQfivYZE+B5dH7ANcDXprQPJTOLjVQwroF4g4XXQ==","signatures":[{"sig":"MEYCIQD9vae3TjlNIL/+cmIQKRm2OT8FSrgH7I49giI2q8KDBgIhAJ+Jms8Gb9/b+spMhGf5EtCS6PUrrEFEtF9ggaBEGNRh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"d9027a47934756c2b70d1b82b2f74eeccf30f9bc","gitHead":"91768d981a262038c1ebe2caf5709401a0ef0557","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"2.14.12","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"4.3.1-rc.2","dependencies":{},"devDependencies":{"mocha":"^2.4.5"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.1.tgz_1457142159226_0.7151744919829071","host":"packages-13-west.internal.npmjs.com"}},"2.1.2":{"name":"keycode","version":"2.1.2","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.2","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"23bbe2308de2f72be763ec2ef4e8c4f87e458d57","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.2.tgz","integrity":"sha512-Ml3snH2wsGU6CjlAzITCnv9YuCGy4YkyGVn+Kh+3bYZGdpbJtLWA7ASgXsmp3BxGbMRMZdjrWecPy+egwURTHg==","signatures":[{"sig":"MEYCIQDW2s0G/SBmRlk0YVr+a2+eCloTdt7Lx/9wRy/Ta0pbLAIhANh9qaytvQX96nkSk13vQl4/KS3ZGKQgNo8JagVeTejF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"23bbe2308de2f72be763ec2ef4e8c4f87e458d57","gitHead":"0b1d667252371e8be4c240751be5a96b2043905d","scripts":{"test":"mocha test/keycode.js"},"_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"3.9.5","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"5.10.1","dependencies":{},"devDependencies":{"mocha":"^2.4.5"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.2.tgz_1464580003485_0.7524782784748822","host":"packages-12-west.internal.npmjs.com"}},"2.1.4":{"name":"keycode","version":"2.1.4","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.4","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"faa717f03ceb1661b9f322c6c89d239eee96bcde","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.4.tgz","integrity":"sha512-uSoOH4INZEwL+H+oQ0yFcxU4Mx3m2lUe9Iesk5LHtYj6rKwe0ixT0x0ly+XoWWL1OXCt5pwjgcNiyG8GOcvjHg==","signatures":[{"sig":"MEUCIQDqHjbLkh3bCNP9N1EOngt4JyJxo9Ex+h+18lBLOIT9uwIgHyROy+HUxgNaYKHCahVIpxDwxPCqCRKKn2CGf3c2wfU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"faa717f03ceb1661b9f322c6c89d239eee96bcde","gitHead":"99053f0147375432ba34a1fde50dd79f8a07222b","scripts":{"test":"mocha test/keycode.js"},"typings":"./keycode.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"3.10.3","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"6.3.1","dependencies":{},"devDependencies":{"mocha":"^2.4.5"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.4.tgz_1469911640310_0.2877988100517541","host":"packages-12-west.internal.npmjs.com"}},"2.1.5":{"name":"keycode","version":"2.1.5","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.5","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"7ab0072ad676e128eb2ccd83f52858b0ffee4f4d","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.5.tgz","integrity":"sha512-w676cZTrfDWuEagRpUrngrTxJGPzUqfFO7A4KMGJ8++5NWHwO0Y1AzzsI5KFPRjVdb1/jtsmyzk8dxcMxJIjLA==","signatures":[{"sig":"MEUCIFwdQa8JpMfyZxGJzxxQn8g+ABa4sd5x28vgGfQn6lbRAiEAzs2U05tGLsW0Y6+s0qbhdIFYfsRkgqKldO6LIKLGOi8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"7ab0072ad676e128eb2ccd83f52858b0ffee4f4d","gitHead":"edd0cf4c90dd4365aefa6c8362e8546ad333bbcd","scripts":{"test":"mocha test/keycode.js"},"typings":"./keycode.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"3.10.7","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"6.3.1","dependencies":{},"devDependencies":{"mocha":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.5.tgz_1473887785871_0.637976631289348","host":"packages-16-east.internal.npmjs.com"}},"2.1.6":{"name":"keycode","version":"2.1.6","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.6","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"d7c3b49885d6a67ed9bf3688010c7b91de630f40","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.6.tgz","integrity":"sha512-sSmeBkzSWVSKAn1gTo443mY/K94w6oAGISTMBheIwq4x4ASAXSF9vulOLgKDtDrLJMY0d+bCl+pl5+j97H3Mlg==","signatures":[{"sig":"MEUCIQDpAVvrS7dy6hHQIVuEk0UNHj/SIivoitj0Ha2AcxjBKgIgAlWw3AJ3DvTikMQ8A+HoMe6kp8OMvyeJnqyAdhIvmxc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"d7c3b49885d6a67ed9bf3688010c7b91de630f40","gitHead":"ad4a213705b1cb569388953fab727ad710a440a4","scripts":{"test":"mocha test/keycode.js"},"typings":"./keycode.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"3.10.7","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"6.3.1","dependencies":{},"devDependencies":{"mocha":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.6.tgz_1473888623309_0.40224721608683467","host":"packages-12-west.internal.npmjs.com"}},"2.1.7":{"name":"keycode","version":"2.1.7","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.7","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"7b9255919f6cff562b09a064d222dca70b020f5c","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.7.tgz","integrity":"sha512-f0g0fiPTy1dWDtSxipy/+ag4saCh/f0anFuRLclmdLubPi/fqV3QfvbjUIlyNlUJQsOqmJ2aCpoHrMVPOPnaIA==","signatures":[{"sig":"MEQCICLwo4DVA6XifPPN32GO1fqa5wu/aCrjDdjs7qX4htO5AiBmiExcKluq+CxttH0yW+Btzltl3LyQjPgm+BM9cGqx7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"7b9255919f6cff562b09a064d222dca70b020f5c","gitHead":"64aa2c645c2cf2696420e270c38e6b5796238ea4","scripts":{"test":"mocha test/keycode.js"},"typings":"./keycode.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"3.10.7","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"6.3.1","dependencies":{},"devDependencies":{"mocha":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.7.tgz_1474603589559_0.2023061728104949","host":"packages-12-west.internal.npmjs.com"}},"2.1.8":{"name":"keycode","version":"2.1.8","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.8","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"94d2b7098215eff0e8f9a8931d5a59076c4532fb","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.8.tgz","integrity":"sha512-ydWXQ9L0ctnH9QSrvPVk13Dt5IBIQQ/bM7pxFJWPGLiPO6OLBSq/Y9Ij2acYCqB2gM/VblDhDkPFj/5CO5Mltg==","signatures":[{"sig":"MEUCICe97l2vdH+8HIxqpP+34w971KR5+YY81ALrkamKOQYpAiEAjj0Gh7AnFTHvi5T3U9SsNktiZUXCHpdVx9+DUIx1phk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"94d2b7098215eff0e8f9a8931d5a59076c4532fb","gitHead":"1a9dc9c571e6c96c2c282afde723a6b72464c14e","scripts":{"test":"mocha test/keycode.js"},"typings":"./keycode.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"3.10.8","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"6.9.1","dependencies":{},"devDependencies":{"mocha":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.8.tgz_1481670378047_0.5840517964679748","host":"packages-18-east.internal.npmjs.com"}},"2.1.9":{"name":"keycode","version":"2.1.9","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.1.9","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"964a23c54e4889405b4861a5c9f0480d45141dfa","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.1.9.tgz","integrity":"sha512-VjQwHsY8pefXcvkxPBKi/qTZECxnetWwsjGpV2ez6Q/OuAsm5t9K2/vwigmaNw1gy3cvzJlnGyU3dOwkwhGpwA==","signatures":[{"sig":"MEQCIAmWypEup/163g1H2os5pftuvRkek7KBbqflRNm8KBbqAiAvpN7bAcXOYchjWt0c64KZuVG0ad+qx8tAF+5csbm9Zw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"964a23c54e4889405b4861a5c9f0480d45141dfa","gitHead":"0cad233de8b7dbad00bb7d6bbb952c79c630fcec","scripts":{"test":"mocha test/keycode.js"},"typings":"./keycode.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"3.10.10","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"6.10.2","dependencies":{},"devDependencies":{"mocha":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/keycode-2.1.9.tgz_1493820728219_0.2873733432497829","host":"packages-18-east.internal.npmjs.com"}},"2.2.0":{"name":"keycode","version":"2.2.0","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.2.0","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"3d0af56dc7b8b8e5cba8d0a97f107204eec22b04","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.2.0.tgz","fileCount":14,"integrity":"sha512-ps3I9jAdNtRpJrbBvQjpzyFbss/skHqzS+eu4RxKLaEAtFqkjZaB6TZMSivPbLxf4K7VI4SjR0P5mRCX5+Q25A==","signatures":[{"sig":"MEQCIAi8db0vSS6seej7+wbJpUekn6cKRs4Zrdb/CxRTyVGCAiA5u1i/8d2CF/WWphAZr3MPXjzLv1hE9Mp59p1dsl9+Lg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117726},"main":"index.js","_from":".","_shasum":"3d0af56dc7b8b8e5cba8d0a97f107204eec22b04","gitHead":"907ed6ecaab6a32671ece058edb93bede3543827","scripts":{"test":"mocha test/keycode.js"},"typings":"./keycode.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"4.6.1","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"8.9.4","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/keycode_2.2.0_1521631714793_0.9270165937774029","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"keycode","version":"2.2.1","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","_id":"keycode@2.2.1","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"homepage":"https://github.com/timoxley/keycode","bugs":{"url":"https://github.com/timoxley/keycode/issues"},"dist":{"shasum":"09c23b2be0611d26117ea2501c2c391a01f39eff","tarball":"https://registry.npmjs.org/keycode/-/keycode-2.2.1.tgz","fileCount":13,"integrity":"sha512-Rdgz9Hl9Iv4QKi8b0OlCRQEzp4AgVxyCtz5S/+VIHezDmrDhkp2N2TqBWOLz0/gbeREXOOiI9/4b8BY9uw2vFg==","signatures":[{"sig":"MEYCIQDdTGvYh8K11SDhHDLCQBwNE5dLhRCgw/ftHhvHLgHZeQIhAP68ofH64jTSgpTgIWPziojOq3ydO/Y/HBusV+JDF9yr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"index.js","gitHead":"c282ff62a4ff05a523d6026a66e83a4892e7f6e7","scripts":{"test":"mocha test/keycode.js"},"typings":"./index.d.ts","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"_npmVersion":"8.1.3","description":"Convert between keyboard keycodes and keynames and vice versa.","directories":{"test":"test","example":"examples"},"_nodeVersion":"16.11.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/keycode_2.2.1_1636996650687_0.8238794930549347","host":"s3://npm-registry-packages"}}},"time":{"created":"2013-08-15T01:39:35.144Z","modified":"2025-02-16T08:13:32.747Z","0.2.2":"2013-08-15T01:39:42.580Z","0.2.3":"2013-08-21T02:39:46.882Z","0.3.0":"2013-08-21T03:12:20.266Z","1.0.0":"2014-09-30T04:31:47.675Z","1.0.1":"2014-12-23T23:00:18.848Z","2.0.0":"2015-02-03T07:30:40.734Z","2.1.0":"2015-05-01T09:51:13.302Z","2.1.1":"2016-03-05T01:42:40.539Z","2.1.2":"2016-05-30T03:46:45.701Z","2.1.4":"2016-07-30T20:47:20.550Z","2.1.5":"2016-09-14T21:16:28.247Z","2.1.6":"2016-09-14T21:30:23.557Z","2.1.7":"2016-09-23T04:06:29.778Z","2.1.8":"2016-12-13T23:06:20.106Z","2.1.9":"2017-05-03T14:12:10.482Z","2.2.0":"2018-03-21T11:28:35.017Z","2.2.1":"2021-11-15T17:17:31.117Z"},"bugs":{"url":"https://github.com/timoxley/keycode/issues"},"author":{"name":"Tim Oxley","email":"secoif@gmail.com"},"license":"MIT","homepage":"https://github.com/timoxley/keycode","keywords":["keyboard","keycode","keyboardevent","ascii","keydown","keyup","metakey","keyname","keypress"],"repository":{"url":"git://github.com/timoxley/keycode.git","type":"git"},"description":"Convert between keyboard keycodes and keynames and vice versa.","maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"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","readmeFilename":"Readme.md","users":{"285858315":true,"ash":true,"akiva":true,"slurm":true,"monjer":true,"mwyatt":true,"cueedee":true,"jidan70":true,"jmsherry":true,"vzg03566":true,"zalithka":true,"assiduous":true,"nbuchanan":true,"muzi131313":true,"mimshwright":true,"dreamanddead":true,"zhenguo.zhao":true}}