emit-keypress
Version:
Drop-dead simple keypress event emitter for Node.js. Create powerful CLI applications and experiences with ease.
92 lines (91 loc) • 1.9 kB
JSON
{
"name": "emit-keypress",
"description": "Drop-dead simple keypress event emitter for Node.js. Create powerful CLI applications and experiences with ease.",
"version": "2.1.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"homepage": "https://github.com/enquirer/emit-keypress",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": {
"type": "git",
"url": "git+https://github.com/enquirer/emit-keypress.git"
},
"bugs": {
"url": "https://github.com/enquirer/emit-keypress/issues"
},
"files": [
"dist"
],
"scripts": {
"clean": "rm -rf dist",
"eslint": "npx eslint --ext .ts .",
"test": "mocha --import=tsx 'test/*.test.ts' --exit",
"tsup": "npm run clean && npx tsup",
"prepublishOnly": "npm run tsup"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.1.1",
"ansi-colors": "^4.1.3",
"detect-terminal": "^3.0.0",
"eslint": "^10.7.0",
"globals": "^17.7.0",
"gulp-format-md": "^2.0.0",
"prettier": "^3.9.6",
"set-value": "^4.1.0",
"tsconfig-paths": "^4.2.0",
"tsup": "^8.5.1",
"tsx": "^4.23.1",
"typescript-eslint": "^8.65.0"
},
"keywords": [
"ansi",
"bin",
"binding",
"bindings",
"chord",
"cli",
"command-line",
"command",
"console",
"emit",
"emitter",
"event",
"events",
"input",
"key",
"keybinding",
"keycode",
"keymap",
"keypress",
"keys",
"listen",
"listener",
"press",
"readline",
"sequence",
"session",
"shortcut",
"stdin",
"stream",
"terminal",
"tty",
"unicode"
],
"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"reflinks": [
"verb"
],
"lint": {
"reflinks": true
}
}
}