How to Install and Uninstall node-keypress Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "node-keypress" package

Here is a brief guide to show you how to install node-keypress on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-keypress

2. Uninstall "node-keypress" package

Learn how to uninstall node-keypress on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-keypress $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-keypress package on Ubuntu 21.10 (Impish Indri)

Package: node-keypress
Architecture: all
Version: 0.2.1-1.1
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27
Depends: nodejs (>= 0.6.19~dfsg1-3~)
Filename: pool/universe/n/node-keypress/node-keypress_0.2.1-1.1_all.deb
Size: 6912
MD5sum: ed2969683cc869528e67af784f307f39
SHA1: 577d3a1920a9d541a4dd58c2a0f5b64e06d385de
SHA256: 5a1fbf96080530b85598b72c80064c1efdfa573634bca558083d84d98f01ba85
SHA512: 57e0b237a1af29997993f3cd3b9931818c56e4d51f2c71dcb0b42e1caaa135f7b03c7aaff4e221e0f86326d4727f93a43802ced71685ac3ad95d8083e113a456
Homepage: https://github.com/TooTallNate/keypress
Description-en: 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!
Description-md5: 7f95958717d33fecf8166b0979673c1d