UNPKG

ctrl-keys

Version:

A tiny, super fast, typescript library to handle keybindings efficiently.

50 lines (49 loc) 1.16 kB
{ "name": "ctrl-keys", "version": "1.0.6", "author": "Amine Ben hammou", "description": "A tiny, super fast, typescript library to handle keybindings efficiently.", "keywords": [ "typescript", "keybindings", "keyboard-shortcuts", "keyboard-events" ], "license": "MIT", "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.js" } }, "files": [ "dist" ], "engines": { "node": ">=10" }, "scripts": { "bench": "cd benchmark && yarn && yarn build", "build": "tsup", "test": "jest", "test-coverage": "jest --coverage" }, "devDependencies": { "@testing-library/dom": "^10.4.0", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "just-types": "^2.0.0-alpha.3", "ts-jest": "^29.2.5", "tslib": "^2.8.1", "tsup": "8.0.1", "typescript": "^5.7.3" } }