{"_id":"@acusti/use-keyboard-events","_rev":"20-7f6c523ea25534020a17c9dec4f4ede5","name":"@acusti/use-keyboard-events","dist-tags":{"latest":"0.13.0","beta":"0.12.0"},"versions":{"0.1.0":{"name":"@acusti/use-keyboard-events","version":"0.1.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.1.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"9ee8a70a27da4003d7ea31d2062359f89628aa0c","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.1.0.tgz","fileCount":9,"integrity":"sha512-FH7RF2kUWM4Rggs3dzncq7mYzJDk0BaFZ5O+KPl6OmfOt0Ay3wU6drnE6EeYqEEQSI9eE7KAggFXgGfkGUfDPQ==","signatures":[{"sig":"MEYCIQCGLuv3FAdjmSvIUSJVduhWNhbVgXKtZHBx0ZhnBrctaAIhAPHsoOcsrPWUsJoGH8RvSf+PuRtkICW5LJugmynv32ZF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24592},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"82c4de597a1799186c06d8849924f94966b2f58f","_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"9.5.1","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"19.8.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.1.6","@types/react":"^18.0.25"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.1.0_1689344898275_0.5426568097259243","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@acusti/use-keyboard-events","version":"0.1.1","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.1.1","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"24206918404eecc94daad663d4714131fc86d858","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.1.1.tgz","fileCount":13,"integrity":"sha512-IzrVeNMtnq9qjMhi2UlmNuXt5u8JE3bvo3c5u2uuBQ05qHJnyUm3bS4ZG+AfIb4s+/yafXqhFAloQFPaFUKJSw==","signatures":[{"sig":"MEUCIQDOolGpb/J/ZpnjlGyzAp/u+L1trkjQiXvbmtlvnzhvOQIgC5LNQOaEMioAjUfyC44p9XQsGaEuX1DdkhHfRZwQibM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26760},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"9242ccedd505da52381d2a2f996fdd171c2fc600","_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"9.5.1","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"19.8.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.1.6","@types/react":"^18.0.25"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.1.1_1689346567567_0.2818947105287528","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@acusti/use-keyboard-events","version":"0.2.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.2.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"6b58b3aa204f1caf703bb537f3d9a7e5af71a145","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.2.0.tgz","fileCount":13,"integrity":"sha512-wqNMJJHbPJ/43gEhTUTcqWdoppwtei/DWCyTI/vCFPI/NvYKTUn4peWHdycpU4A/8v2ff9MfjKmaMRxb4OHxJw==","signatures":[{"sig":"MEYCIQDXr6KUJEDwYA2VTLhzAV2xr9wHODaUMgKnVF79dbEyGAIhALT0GmKzsusPdcp4A6pKOxIPo3r13kgjRYLnXeYseIlh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27030},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"9242ccedd505da52381d2a2f996fdd171c2fc600","_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"9.5.1","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"19.8.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.1.6","@types/react":"^18.0.25"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.2.0_1689368563831_0.39160199591391875","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@acusti/use-keyboard-events","version":"0.3.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.3.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"ad9c6f8380ea9b3f1bab6f0d906d40f530e10761","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.3.0.tgz","fileCount":13,"integrity":"sha512-X4+Ohz1wLhl4T3RCdj97o9G4ZOT1Jxpb1pyxFqSMajki60AW0a26dfc3Z7fZHcLcUsmKtfA3yTyOqVdS8JG+OA==","signatures":[{"sig":"MEQCIFmlwpce518xwoK0NeT8PPPlKFv0ZvJkd5sxY4IyhZExAiAsYniDEoAdrIIK6wzo9jgZ3RV1KjjGPl8EoV6m8hMDeg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29790},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"76d700632f84b3d99162a83aac0221095124da46","_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"9.8.0","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.1.6","@types/react":"^18.0.25"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.3.0_1693520726239_0.5058873873215071","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@acusti/use-keyboard-events","version":"0.4.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.4.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"e1276fc35ebb6009a5f608e70393e9a394ac018b","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.4.0.tgz","fileCount":13,"integrity":"sha512-QhCRBUSbQRtZ4ealFMvUtsiywzD07REUAHhtHzYi0opcd3WB6Cki9HprhK9sWuBNdjnudKE8prr/hLKsmd/iAA==","signatures":[{"sig":"MEYCIQCmOQAvdW900AHv3D49o0ErDWTQZLbcUp/j3j/KGdWzhQIhAPQp/363ehc5poXSWZY2d24V2MRthqNhZb87AW5Ez69H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35369},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"762a81c0f783360f792446aa1219cc13b749b2b0","_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"9.8.0","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","_hasShrinkwrap":false,"devDependencies":{"jsdom":"^22.1.0","react":"^18","react-dom":"^18","typescript":"^5.1.6","@types/react":"^18.0.25","@testing-library/dom":"^9.3.1","@testing-library/react":"^14.0.0","@testing-library/user-event":"^14.4.3"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.4.0_1694050094688_0.73525033085","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"@acusti/use-keyboard-events","version":"0.5.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.5.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"c3aab69b5384af1f5a0aa01cc4b833f3b8be8cfd","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.5.0.tgz","fileCount":17,"integrity":"sha512-et+fOqXSh6WZd/ilSuDrSZPycmajpQAjzA05Og54eX2YxLYcEcXf/VvxTHRcUdhnx34hx/wGuJ0F9YV6JLYCfg==","signatures":[{"sig":"MEYCIQD6yfx7ApLn1Dse0gxTX6CfcHNZz7v99PEM4nilIqQV/QIhAPAabbwTeDO7At/E5taKIQYCA42Qq6JI0g7ECf/xJ/Uh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53918},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"254fc34d4cced0e04858c8e97dbf4b53b662d4d7","_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.2.3","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18","vitest":"^1.1.0","happy-dom":"^12.10.3","react-dom":"^18","typescript":"^5.3.3","@types/react":"^18.2.45","@testing-library/dom":"^9.3.1","@testing-library/react":"^14.0.0","@testing-library/user-event":"^14.4.3"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.5.0_1703790325906_0.3050441533149346","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@acusti/use-keyboard-events","version":"0.5.1","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.5.1","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"cfd4fcbfaf59f1ee7b23535f6020a2860e14b0c0","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.5.1.tgz","fileCount":17,"integrity":"sha512-yfe8TxkIqRss9yHFi5wiH72KYz5VKeSZ33yHXEkGkFHr0ZB0LSMt/f6o5t/E6le63iyVVRkltXsSZ07h7q1A1g==","signatures":[{"sig":"MEUCIDW3+3EZ3DzbVUdfZStNBLCe5mXQE1JgwErNP+6gH+7NAiEAyRl5aetealEDZUIsf8NSJpVPIHlDXkdf3eOaT2t6JEI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53967},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"e9c6481223323731573761a49dbbc62670eae094","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.2.3","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18","vitest":"^1.1.0","happy-dom":"^12.10.3","react-dom":"^18","typescript":"^5.3.3","@types/react":"^18.2.45","@testing-library/dom":"^9.3.1","@testing-library/react":"^14.0.0","@testing-library/user-event":"^14.4.3"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.5.1_1705959950272_0.41717882058553046","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"@acusti/use-keyboard-events","version":"0.6.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.6.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"af76fbd05ebd2c8f0389458b2aa5ebf663d07707","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.6.0.tgz","fileCount":17,"integrity":"sha512-DxblF3u4QmtTZ6ah87uQ7FsoeoWR6JfOnJkDm4dfRftHlz7wyspdxyEFPcko7UlhEbcydotFhoJKUU2yQh/8yQ==","signatures":[{"sig":"MEQCIF6kRlRpOEdXKwSg/RniwnpBuLmkyoc7lgFqdXO5jnrXAiA0J7oZsflNOUGlY2pIw6FRVO73/aRd2EnG2YfjmcMmOA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55108},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"85cbd003a78eba8319e0298fe95e19990bdb68c4","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.2.4","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"21.6.1","_hasShrinkwrap":false,"devDependencies":{"react":"^18","vitest":"^1.1.0","happy-dom":"^12.10.3","react-dom":"^18","typescript":"^5.3.3","@types/react":"^18.2.45","@testing-library/dom":"^9.3.1","@testing-library/react":"^14.0.0","@testing-library/user-event":"^14.4.3"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.6.0_1707342939044_0.06683613098427599","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"@acusti/use-keyboard-events","version":"0.7.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.7.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"eea9c6b3d2ea56f8bcb60c893bd97d1c268df450","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.7.0.tgz","fileCount":17,"integrity":"sha512-76XaH93JnpYUzoeZsXVWQqgr774OFwrxB/3wYcgcwQo8ccwdORb/9/cvLi6M6uCjMav1e+qHMsom95f1TMN7iw==","signatures":[{"sig":"MEQCIBfa2vbDK3xR1wevzTu9bp9W/FHpwE71dwUHYiEkXubyAiBP26qe56tFTVGOEugrs6Y2vuVOoaXOSEP4GPa4Q9Yb+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55499},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"15a7a50e98d6634a47a577eded89a7c7aa9e0560","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.8.2","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0-0","vitest":"^1.1.0","happy-dom":"^15.7.3","react-dom":"^19.0.0-0","typescript":"5.3.3","@types/react":"^18.3.4","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2"},"peerDependencies":{"react":"^16.8 || ^17 || ^18","react-dom":"^16.8 || ^17 || ^18"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.7.0_1725240266631_0.4380876881051532","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"@acusti/use-keyboard-events","version":"0.8.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.8.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"30137d750cd2cc43f96a0e6f07bf681ef53fb957","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.8.0.tgz","fileCount":17,"integrity":"sha512-k19xpTU7EnqnbO2DQKUrrYpW9FZi4KDERNO/l1pUBtIV/A26E08o5WVurng2KAYdT+fSg44az/B4s55ds/0Y7w==","signatures":[{"sig":"MEYCIQCFreF+KuOkoSOqoUjiQyPyyD6pvQoZdcJcULNBqEOanwIhAJK/B5oeKrSICIUczLaEfCwK8WD9BNjC2kl72IjLiLme","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55589},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"c3683d20d645920a59653c99c6cf0db8009db46f","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.8.2","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"22.7.0","_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","vitest":"^2.1.8","happy-dom":"^15.7.3","react-dom":"^19.0.0","typescript":"5.3.3","@types/react":"^18.3.4","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2"},"peerDependencies":{"react":"^16.8 || ^17 || ^18 || ^19","react-dom":"^16.8 || ^17 || ^18 || ^19"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.8.0_1734626320280_0.3580469781027653","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@acusti/use-keyboard-events","version":"0.9.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.9.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"88b0c1931ac9d545113047eb0a06f147d14f4cad","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.9.0.tgz","fileCount":17,"integrity":"sha512-3XP1swg9Q+iwqvwbPXjAT2FNBzSDS2d9Emo42XkIqJ1UQa8AAVQg88Eeg8HMXcwJSd0sV/lvhgP5fixLqbp9fA==","signatures":[{"sig":"MEUCIQC3q2o3mKHtEhePK6N0dM77NPwIy+xeQ1ia1rFU6ZzjTwIgZZyvyZFrgdzCpIaVAuPsTVSoENco/qcJu+yo30U6n74=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55589},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"71eacc56e70c0623d7bfe833aa4d940645364ae5","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.8.2","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"22.7.0","_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","vitest":"^2.1.8","happy-dom":"^15.7.3","react-dom":"^19.0.0","typescript":"5.3.3","@types/react":"^19.0.2","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@testing-library/user-event":"^14.5.2"},"peerDependencies":{"react":"^16.8 || ^17 || ^18 || ^19","react-dom":"^16.8 || ^17 || ^18 || ^19"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.9.0_1734628735817_0.479908264666971","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"@acusti/use-keyboard-events","version":"0.9.1","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.9.1","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"f9d5b4cb8cc82b18a86aa0e2a3015f99e265f692","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.9.1.tgz","fileCount":17,"integrity":"sha512-TUz0TnWnVgbXIDHo1RI6348a9ZN1/bsss2fQ49NTiIt52Eo1zVFdi0Z3ylq80uDTdZdqYrQHkgt/pfVBhsD5eA==","signatures":[{"sig":"MEUCIHIcZ2WGKcADXIaus0Aypm620Fr9WPBqURWXfyts3BiBAiEAh1Tw46PSS7CVF/ILL4ZjS0nrosUeuz/bP8qtLGlmMGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56891},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"6916a424996a6a6daa27d5063d0020294422e267","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.8.2","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"22.7.0","_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","vitest":"^2.1.8","happy-dom":"^15.11.7","react-dom":"^19.0.0","typescript":"5.7.3","@types/react":"^19.0.2","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@testing-library/user-event":"^14.5.2"},"peerDependencies":{"react":"^16.8 || ^17 || ^18 || ^19","react-dom":"^16.8 || ^17 || ^18 || ^19"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.9.1_1737222723581_0.04887001237705557","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@acusti/use-keyboard-events","version":"0.10.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.10.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"8d521119c0d23fd4f7a1d99adf7686f787ac5a68","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.10.0.tgz","fileCount":17,"integrity":"sha512-1kzdHfm5imnDi2hvfnpkZL943ugaxQ/8GfkP/MU8Y4K1tLFEveJoJfXY+ukQ4AvCNnLe5xXXOw5bkTuQIm3Vrw==","signatures":[{"sig":"MEYCIQDxihf84lzrtRCXuQWPdT4ayeVourSf4VfOnF3u2MdbXAIhALx9+AbagynxKiubGIH4Z/XBHwQmaGk00g28NzELf9rr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54501},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"f7b9c709590d20f31d79898030974f40cd73e68d","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.9.2","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"23.11.0","_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","vitest":"^3.1.1","happy-dom":"^17.4.4","react-dom":"^19.0.0","typescript":"5.8.3","@types/react":"^19.1.1","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.3.0","@testing-library/user-event":"^14.6.1"},"peerDependencies":{"react":"^16.8 || ^17 || ^18 || ^19","react-dom":"^16.8 || ^17 || ^18 || ^19"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.10.0_1744399574715_0.4515637744688117","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"@acusti/use-keyboard-events","version":"0.10.1","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts","flow"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.10.1","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"c4b9029a0e703efc8b919ff9d0cd37fcb4d59e84","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.10.1.tgz","fileCount":17,"integrity":"sha512-8MYs1OIGDoUMxpVV/hXQUZe/G6GUCY9rVkvVZsNSfJ0iRiwvm3BmtYSkbWaNRaOhEqZBdyiItohp2CowIpfZCA==","signatures":[{"sig":"MEUCIQCFxPVVlMaiU5XgKB+mmeO1GCVpOdzBWKsSk7aawQtjpAIga4ZngXfSuRKBVW1/KbBdjcr5LwzlIwHyagpj0o4Ck3o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54567},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"fd121c5704e48d661847521914d1467edce616b3","scripts":{"test":"vitest"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.9.2","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"23.11.0","_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","vitest":"^3.1.4","happy-dom":"^17.4.7","react-dom":"^19.0.0","typescript":"5.8.3","@types/react":"^19.1.6","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.3.0","@testing-library/user-event":"^14.6.1"},"peerDependencies":{"react":"^16.8 || ^17 || ^18 || ^19 || ~0.0.0-experimental < 0.0.0-f","react-dom":"^16.8 || ^17 || ^18 || ^19 || ~0.0.0-experimental < 0.0.0-f"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.10.1_1748385767955_0.42426809195442616","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@acusti/use-keyboard-events","version":"0.11.0","keywords":["react","react-hooks","hooks","keyboard-events","key-event-listening","useKeyboardEvents","typescript","ts"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.11.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"a1c34f73ee45ad33862042615c0087557cd69f56","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.11.0.tgz","fileCount":6,"integrity":"sha512-GA72J1J5o+9W9Fc9yjls0Eay73pvgQ3OJDB9sTIrRicIjDx9uie31dhPFzz6BV7jcAFvuQ5GKd2GRkkofp+jAA==","signatures":[{"sig":"MEUCICMZptQLamEz8xiDyzxUH/IkNIbJxYE4a/o7R7rBbJE2AiEA5qg5Y0oMU5iLgZAOiGJ5L2n2Lfd2Ej+4GmH00OserSA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25574},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"11ef240d8f08d99bbc9a65f62ec4274cf9c086a8","scripts":{"test":"vitest","build":"vite build"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"10.9.2","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"23.11.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.3.5","react":"^19.0.0","vitest":"^3.1.4","happy-dom":"^17.4.7","react-dom":"^19.0.0","typescript":"5.8.3","@types/react":"^19.1.6","unplugin-dts":"^1.0.0-beta.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.5.0","@testing-library/react":"^16.3.0","@testing-library/user-event":"^14.6.1","babel-plugin-react-compiler":"rc"},"peerDependencies":{"react":"^19 || ~0.0.0-experimental < 0.0.0-f","react-dom":"^19 || ~0.0.0-experimental < 0.0.0-f"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.11.0_1748819288226_0.5764985742881981","host":"s3://npm-registry-packages-npm-production"}},"0.11.1":{"name":"@acusti/use-keyboard-events","version":"0.11.1","keywords":["hooks","key-event-listening","keyboard-events","react","react-hooks","ts","typescript","useKeyboardEvents"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.11.1","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"dadecfbae493f368493b38cbb3e221b6d0047fc8","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.11.1.tgz","fileCount":6,"integrity":"sha512-Eu+5Vw6MlvX6yscqbP1z0v2FOSeyWQ9IPINDpi/5hB+goSCbql0JP7vxqx8S+y/lUsijl7aCdYefBx20zjDbrg==","signatures":[{"sig":"MEUCIQDM4MY4OIcee7qAkgz/z/GQp+agI/oeXO2eUPmFsmp+qAIgTmvoKAGXQOl9JziVXT4ntzXz+YnUigUazhdFlQ7VaO8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24806},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"ffbb0ad4ba82902d3eec760f9f9d2954814caae0","scripts":{"tsc":"tsc --noEmit","test":"vitest","build":"vite build && tsc -p tsconfig.build.json"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"11.11.1","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"25.8.2","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0-0","react":"^19.2.7","vitest":"^4","happy-dom":"^20.4.0","react-dom":"^19.2.7","typescript":"7.0.1-rc","@types/react":"^19.2.17","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1"},"peerDependencies":{"react":"^19 || ~0.0.0-experimental < 0.0.0-f","react-dom":"^19 || ~0.0.0-experimental < 0.0.0-f"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.11.1_1783116475999_0.01161338627508135","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@acusti/use-keyboard-events","version":"0.12.0","keywords":["hooks","key-event-listening","keyboard-events","react","react-hooks","ts","typescript","useKeyboardEvents"],"author":{"url":"https://www.acusti.ca","name":"andrew patton","email":"andrew@acusti.ca"},"license":"Unlicense","_id":"@acusti/use-keyboard-events@0.12.0","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"dist":{"shasum":"fe8af3f06cc7845e2747e06338e8564586cd7f98","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.12.0.tgz","fileCount":6,"integrity":"sha512-xfdJIA0MIJbvG1BOtIafZeZfjsAKHZh24S1WNxN8Nr3TymT4fl79o0s1izoGKHoz96qOF5SNwikwH7sd0xz+SQ==","signatures":[{"sig":"MEUCIFd2NqKEsaRP+FNnxld2Cto72xF1lwt0okUdNZO2pK9YAiEA8QQp5I6gq345DcnvxbmaAfafpkPmP7WWXBKCzBWkzBQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25450},"main":"./dist/useKeyboardEvents.js","type":"module","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","gitHead":"920f1b38b5deb370056feb0209b550a20210fc85","scripts":{"tsc":"tsc --noEmit","test":"vitest","build":"vite build && tsc -p tsconfig.build.json"},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"repository":{"url":"git+https://github.com/acusti/uikit.git","type":"git","directory":"packages/use-keyboard-events"},"_npmVersion":"11.11.1","description":"React hook that takes keyboard event handlers and attaches them to the document","directories":{},"sideEffects":false,"_nodeVersion":"25.8.2","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^8.0.0-0","react":"^19.2.7","vitest":"^4","happy-dom":"^20.4.0","react-dom":"^19.2.7","typescript":"^7","@types/react":"^19.2.17","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1"},"peerDependencies":{"react":"^19 || ~0.0.0-experimental < 0.0.0-f","react-dom":"^19 || ~0.0.0-experimental < 0.0.0-f"},"_npmOperationalInternal":{"tmp":"tmp/use-keyboard-events_0.12.0_1787244595999_0.6460653182764944","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@acusti/use-keyboard-events","version":"0.13.0","description":"React hook that takes keyboard event handlers and attaches them to the document","keywords":["hooks","key-event-listening","keyboard-events","react","react-hooks","ts","typescript","useKeyboardEvents"],"homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","bugs":{"url":"https://github.com/acusti/uikit/issues"},"license":"Unlicense","author":{"name":"andrew patton","email":"andrew@acusti.ca","url":"https://www.acusti.ca"},"repository":{"type":"git","url":"git+https://github.com/acusti/uikit.git","directory":"packages/use-keyboard-events"},"type":"module","sideEffects":false,"main":"./dist/useKeyboardEvents.js","types":"./dist/useKeyboardEvents.d.ts","exports":"./dist/useKeyboardEvents.js","scripts":{"test":"vitest","build":"vite build && tsc -p tsconfig.build.json","tsc":"tsc --noEmit"},"devDependencies":{"@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1","@types/react":"^19.2.17","happy-dom":"^20.4.0","react":"^19.2.7","react-dom":"^19.2.7","typescript":"^7","vite":"^8.0.0-0","vitest":"^4"},"peerDependencies":{"react":"^19 || ~0.0.0-experimental < 0.0.0-f","react-dom":"^19 || ~0.0.0-experimental < 0.0.0-f"},"gitHead":"111fb38709260106d201486ef350efc05f293e75","_id":"@acusti/use-keyboard-events@0.13.0","_nodeVersion":"25.8.2","_npmVersion":"11.11.1","dist":{"integrity":"sha512-UJ0OWNDdQ1vjHkhRdYRjpSvMpMu5UlmzsKm2eqT44sq8nInMQzRQdBOMAlQRvQoTG4QTVmF5+XcC1TS8bxDpIA==","shasum":"635d966716b2fe01f88c75c97529f1fe0298ad01","tarball":"https://registry.npmjs.org/@acusti/use-keyboard-events/-/use-keyboard-events-0.13.0.tgz","fileCount":6,"unpackedSize":24720,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD0kkXIltgFCV1uLUK84CmIP7kcwRdPY/eeXx5wSniKeAIgU4ef4focWH+Ouc/N04iaWS55QauscrsqZA5cuqRYFLk="}]},"_npmUser":{"name":"acusti","email":"andrew@acusti.ca"},"directories":{},"maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/use-keyboard-events_0.13.0_1787541377518_0.6039261884540643"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-14T14:28:18.192Z","modified":"2026-08-24T03:16:17.827Z","0.1.0":"2023-07-14T14:28:18.465Z","0.1.1":"2023-07-14T14:56:07.739Z","0.2.0":"2023-07-14T21:02:44.071Z","0.3.0":"2023-08-31T22:25:26.452Z","0.4.0":"2023-09-07T01:28:14.937Z","0.5.0":"2023-12-28T19:05:26.076Z","0.5.1":"2024-01-22T21:45:50.449Z","0.6.0":"2024-02-07T21:55:39.193Z","0.7.0":"2024-09-02T01:24:26.784Z","0.8.0":"2024-12-19T16:38:40.550Z","0.9.0":"2024-12-19T17:18:55.987Z","0.9.1":"2025-01-18T17:52:03.801Z","0.10.0":"2025-04-11T19:26:14.895Z","0.10.1":"2025-05-27T22:42:48.176Z","0.11.0":"2025-06-01T23:08:08.407Z","0.11.1":"2026-07-03T22:07:56.139Z","0.12.0":"2026-08-20T16:49:56.129Z","0.13.0":"2026-08-24T03:16:17.671Z"},"bugs":{"url":"https://github.com/acusti/uikit/issues"},"author":{"name":"andrew patton","email":"andrew@acusti.ca","url":"https://www.acusti.ca"},"license":"Unlicense","homepage":"https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme","keywords":["hooks","key-event-listening","keyboard-events","react","react-hooks","ts","typescript","useKeyboardEvents"],"repository":{"type":"git","url":"git+https://github.com/acusti/uikit.git","directory":"packages/use-keyboard-events"},"description":"React hook that takes keyboard event handlers and attaches them to the document","maintainers":[{"name":"acusti","email":"andrew@acusti.ca"}],"readme":"# @acusti/use-keyboard-events\n\n[![latest version](https://img.shields.io/npm/v/@acusti/use-keyboard-events?style=for-the-badge)](https://www.npmjs.com/package/@acusti/use-keyboard-events)\n[![downloads per month](https://img.shields.io/npm/dm/@acusti/use-keyboard-events?style=for-the-badge)](https://www.npmjs.com/package/@acusti/use-keyboard-events)\n[![bundle size](https://deno.bundlejs.com/badge?q=@acusti/use-keyboard-events)](https://bundlejs.com/?q=%40acusti%2Fuse-keyboard-events)\n[![supply chain security](https://socket.dev/api/badge/npm/package/@acusti/use-keyboard-events/0.11.0)](https://socket.dev/npm/package/@acusti/use-keyboard-events/overview/0.11.0)\n\n`useKeyboardEvents` is a React hook that takes the following payload:\n\n```ts\n{\n    ignoreUsedKeyboardEvents?: boolean;\n    onKeyDown?: (event: KeyboardEvent) => unknown;\n    onKeyPress?: (event: KeyboardEvent) => unknown;\n    onKeyUp?: (event: KeyboardEvent) => unknown;\n    priority?: number;\n}\n```\n\nThe hook uses [keyboard event] listeners on the document to trigger the\nonKey(Down|Press|Up) functions in order to ensure that all key events are\ncaptured regardless of whether there is currently a focused element in the\nDOM (i.e. `document.activeElement` is set). This solves the problem where\nkeyboard event handlers attached via React’s `onKey(Down|Press|Up)` props\nmiss any keyboard events that occur when the target element and its\ndescendants aren’t focused.\n\n[keyboard event]:\n    https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent\n\nIn addition to keyboard event handlers, you can pass the boolean prop\n`ignoreUsedKeyboardEvents`, which defaults to `true`. If the prop is true,\nthe keyboard event target is an input, textarea, or contenteditable\nelement, and the keyboard event is usable by the element, your keyboard\nevent listeners will not be triggered. This makes it trivial to avoid\nerroneously handling keyboard shortcuts when the keyboard event is intended\nby the user to apply to the currently focused text editing UI. For example:\nyou have a “todo” application that has a delete key handler for deleting\nthe currently selected todo item when. If editing the text of a todo item\nalso means the todo item is selected, a keydown handler that deletes the\ntodo item would be triggered when the user is editing the text of the todo\nitem and hits the delete key. If you use this package and\n`ignoreUsedKeyboardEvents` is true (it defaults to true), the hook will not\ntrigger your handler if the target of the keyboard event is using it for\ninput.\n\nThe hook exposes two more methods for controlling how events are handled:\nfirst, you can pass `priority`, which can be any number between -50 and 50.\nA higher number means a higher priority, and handlers will be executed in\norder from highest priority to lowest priority. In addition, you can return\nboolean `false` from your handler to indicate that no other handler should\nbe triggered for this same event (akin to calling\n`event.stopPropagation()`).\n","readmeFilename":"README.md"}