{"library":"keypress","type":"library","category":null,"description":"The `keypress` package (version 0.2.1) is a JavaScript utility designed to make any Node.js `ReadableStream` emit \"keypress\" events. It was created to provide this functionality independently, particularly for Node.js `v0.8.x` where the `keypress` event on `process.stdin` was either undocumented or only emitted when used with the `readline` module. This module extracts and provides that specific logic. Released around 2012, this package is considered abandoned and is not maintained for modern Node.js environments. While it historically filled a gap for console applications requiring direct input handling, current Node.js versions offer built-in alternatives through the `readline` module's `emitKeypressEvents` method. It addresses a specific legacy need for low-level terminal input without relying on the full `readline` interface.","language":"javascript","status":"abandoned","version":"0.2.1","tags":["javascript","keypress","readline","core"],"last_verified":"Wed May 27","install":[{"cmd":"npm install keypress","imports":["const keypress = require('keypress');","keypress(process.stdin);","import keypress = require('keypress');"]},{"cmd":"yarn add keypress","imports":[]},{"cmd":"pnpm add keypress","imports":[]}],"homepage":null,"github":"https://github.com/TooTallNate/keypress","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/keypress","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/keypress/compatibility"}}