UNPKG

react-keyshorts

Version:

A React hook for handling keyboard shortcuts.

41 lines (40 loc) 1.01 kB
{ "name": "react-keyshorts", "version": "2.0.2", "description": "A React hook for handling keyboard shortcuts.", "main": "src/index.ts", "types": "src/index.ts", "scripts": { "build": "tsc", "start": "node ./dist/index.js" }, "author": "Rifat Hasan Shaun <rifath.shaun@gmail.com>", "homepage": "https://github.com/rifat-shaun/react-keyshorts", "repository": { "type": "git", "url": "git+https://github.com/rifat-shaun/react-keyshorts.git" }, "bugs": { "url": "https://github.com/rifat-shaun/react-keyshorts/issues" }, "keywords": [ "react", "hook", "keyboard shortcut", "keyboard", "shortcuts", "key", "shortcuts" ], "license": "MIT", "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.4", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "babel-cli": "^6.26.0", "typescript": "^5.5.4" } }