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

Last updated: May 17,2024

1. Install "node-flagged-respawn" package

This tutorial shows how to install node-flagged-respawn on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-flagged-respawn

2. Uninstall "node-flagged-respawn" package

This is a short guide on how to uninstall node-flagged-respawn on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-flagged-respawn $ sudo apt autoclean && sudo apt autoremove

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

Package: node-flagged-respawn
Architecture: all
Version: 1.0.1-2
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23
Depends: nodejs (>= 6)
Filename: pool/universe/n/node-flagged-respawn/node-flagged-respawn_1.0.1-2_all.deb
Size: 6888
MD5sum: f6d27d01524b4dd4b64d022b2ae14df1
SHA1: 4cb42bc0c7f151a9322c54ce002f3d008d5a00d4
SHA256: 41cb07c96ca53042726b595024b6d5e6d8394f63997446e5b55060fb56e4fa27
SHA512: 6aed67a790e474522de53e4ed7fc653b84a69f7dc6291923f556b1fb5f91d04f0242066f0c109a40a52ce3f753b173b2c41fb8b894825e79b3935cd285c3980b
Homepage: https://github.com/js-cli/js-flagged-respawn
Description-en: tool for respawning node binaries when special flags are present
This Node.js module can be useful for command-line scripts
written in JavaScript. It can selectively apply flags to
the interpreter, by re-spawning it and passing it only  
the required flags - the rest are passed to the script.
.
Flagged-respawn also handles all the edge cases such as:
- Providing a method to determine if a respawn is needed.
- Piping stderr/stdout from the child into the parent.
- Making the parent process exit with the same code as the child.
- If the child is killed, making the parent exit with the same signal.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: 4a7b69405d498db4ca51d3221d8ab8ac