@acusti/use-keyboard-events
Version:
React hook that takes keyboard event handlers and attaches them to the document
58 lines (57 loc) • 1.77 kB
JSON
{
"name": "@acusti/use-keyboard-events",
"version": "0.11.0",
"type": "module",
"sideEffects": false,
"exports": "./dist/useKeyboardEvents.js",
"main": "./dist/useKeyboardEvents.js",
"types": "./dist/useKeyboardEvents.d.ts",
"files": [
"dist"
],
"description": "React hook that takes keyboard event handlers and attaches them to the document",
"keywords": [
"react",
"react-hooks",
"hooks",
"keyboard-events",
"key-event-listening",
"useKeyboardEvents",
"typescript",
"ts"
],
"scripts": {
"test": "vitest",
"build": "vite build"
},
"repository": {
"type": "git",
"url": "https://github.com/acusti/uikit.git",
"directory": "packages/use-keyboard-events"
},
"author": "andrew patton <andrew@acusti.ca> (https://www.acusti.ca)",
"license": "Unlicense",
"bugs": {
"url": "https://github.com/acusti/uikit/issues"
},
"homepage": "https://github.com/acusti/uikit/tree/main/packages/use-keyboard-events#readme",
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.1.6",
"@vitejs/plugin-react": "^4.5.0",
"babel-plugin-react-compiler": "rc",
"happy-dom": "^17.4.7",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "5.8.3",
"unplugin-dts": "^1.0.0-beta.0",
"vite": "^6.3.5",
"vitest": "^3.1.4"
},
"peerDependencies": {
"react": "^19 || ~0.0.0-experimental < 0.0.0-f",
"react-dom": "^19 || ~0.0.0-experimental < 0.0.0-f"
}
}