all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: node-keypress  ]

Package: node-keypress (0.2.1-1.1)

Links for node-keypress

Screenshot

Debian Resources:

Download Source Package node-keypress:

Maintainers:

External Resources:

Similar packages:

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 conjunction 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!

Other Packages Related to node-keypress

  • depends
  • recommends
  • suggests
  • enhances

Download node-keypress

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.7 kB27.0 kB [list of files]