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

Last updated: November 22,2024

1. Install "node-thenify" package

Please follow the guidelines below to install node-thenify on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-thenify

2. Uninstall "node-thenify" package

This tutorial shows how to uninstall node-thenify on Ubuntu 21.10 (Impish Indri):

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

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

Package: node-thenify
Architecture: all
Version: 3.3.1-1
Priority: optional
Section: universe/javascript
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: node-any-promise (>= 1.0.0)
Filename: pool/universe/n/node-thenify/node-thenify_3.3.1-1_all.deb
Size: 5032
MD5sum: 0f124105c527f2453800deb06013c3e1
SHA1: b867adcb33bd909015668f3e4687b288fecdeb83
SHA256: 26da6577f4cb45ff10ab82048d9b6c8794272310e2671817b3d7ba9b9fcd28bf
SHA512: bfe0f4c4abde23d063401650014915811276f2ab7b495b0d14c82f74216a64fa9a5e0a1172c66df76f4d5a19a07cbfae95b6c3fca8f6e042e94e4a822ae0f3e7
Homepage: https://github.com/thenables/thenify
Description-en: Promisify a callback-based function
Some features of this module:
- Preserves function names
- Uses a native promise implementation if available and tries to fall back to
a promise implementation such as bluebird
- Converts multiple arguments from the callback into an Array, also support
change the behavior by options.multiArgs
- Resulting function never deoptimizes
- Supports both callback and promise style
An added benefit is that thrown errors in that async function will be caught
by the promise!
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: 6eade1ced51fc142af2e90332eedd78a