Keypress Event Emitter for Node.js Streams

JSON →
library 0.2.1 ·javascript abandoned
verified May 27, 2026

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.

total hits 10
actors 5 distinct systems
last hit 1d ago AhrefsBot
GPTBot
2
Script
1
Search engines
1

top countries 🇨🇦 Canada · 🇫🇷 France · 🇺🇸 United States · 🇩🇪 Germany