How to Install and Uninstall node-rewire Package on Kali Linux

Last updated: May 17,2024

1. Install "node-rewire" package

Please follow the instructions below to install node-rewire on Kali Linux

$ sudo apt update $ sudo apt install node-rewire

2. Uninstall "node-rewire" package

This is a short guide on how to uninstall node-rewire on Kali Linux:

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

3. Information about the node-rewire package on Kali Linux

Package: node-rewire
Version: 6.0.0-3
Installed-Size: 38
Maintainer: Debian Javascript Maintainers
Architecture: all
Depends: node-eslint
Size: 13456
SHA256: 9fae05a42d231353c8c8bd6752306d68433a5522904a98a119ae7f1f94ddb134
SHA1: 0d9e578c6524c7ff6f21ee0e1dec58d27cc918b3
MD5sum: 8ff0dca1dbdff7a7ddbcebd87a302e9c
Description: Easy monkey-patching for node.js unit tests
rewire adds a special setter and getter to modules making it
possible to modify their behaviour for better unit testing.
It provides functionality for
.
+ inject mocks for other modules or globals like process
+ inspect private variables
+ override variables within the module.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5:
Homepage: https://github.com/jhnns/rewire
Section: javascript
Priority: optional
Filename: pool/main/n/node-rewire/node-rewire_6.0.0-3_all.deb