[Pkg-javascript-devel] Bug#707556: ITP: node-keypress -- Make any Node ReadableStream emit "keypress" events
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Thu May 9 11:59:14 UTC 2013
Package: wnpp
Severity: wishlist
Owner: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
* Package name : node-keypress
Version : 0.1.0
Upstream Author : Nathan Rajlich <nathan at tootallnate.net>
* URL : https://github.com/TooTallNate/keypress
* License : MIT
Programming Lang: Javascript
Description : Make any Node ReadableStream emit "keypress" events
Previous to Node v0.8.x, there was an undocumented "keypress" event that
process.stdin would emit when it was a TTY. Some people discovered this
hidden gem, and started using it in their own code.
.
In Node v0.8.x (and above), this "keypress" event does not get emitted by default,
but rather only when it is being used in conjuction with the readline (or
by extension, the repl) module.
.
This module is the exact logic from the node pre-v0.8.x releases ripped out
into its own module.
.
Bonus: Now with mouse support!
More information about the Pkg-javascript-devel
mailing list