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

Last updated: May 18,2024

1. Install "node-proxyquire" package

This guide covers the steps necessary to install node-proxyquire on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-proxyquire

2. Uninstall "node-proxyquire" package

Here is a brief guide to show you how to uninstall node-proxyquire on Ubuntu 21.10 (Impish Indri):

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

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

Package: node-proxyquire
Architecture: all
Version: 2.1.3+~1.0.1+~1.0.2-11
Priority: optional
Section: universe/javascript
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 118
Provides: node-fill-keys, node-module-not-found-error
Depends: node-is-object, node-merge-descriptors, node-resolve, nodejs
Enhances: node-sinon
Filename: pool/universe/n/node-proxyquire/node-proxyquire_2.1.3+~1.0.1+~1.0.2-11_all.deb
Size: 23920
MD5sum: c73adbffc06259dab8dd9f1fdb373356
SHA1: 4da102d7dada44394373735e913540552ca9b43e
SHA256: fe4128fecbe5b599412c65be9eb4a783ad650eb47797fc0bb83bc192e19a9827
SHA512: 71cb59414d561a4254803e60a8297f26f568f561247a30d34dc69764b47f097f84619f370a5e6d3bcc84d2afd09822b254ef019e93029313afda5695a8c27839
Homepage: https://github.com/thlorenz/proxyquire
Description-en: mocking tool to stub dependencies in Node.js
Proxyquire proxies nodejs's require
in order to make overriding dependencies during testing easy
while staying totally unobtrusive.
.
* No changes to your code are necessary.
* Non overridden methods of a module behave like the original.
* Mocking framework agnostic,
if it can stub a function then it works with proxyquire.
* "use strict" compliant.
Description-md5: c44ca2d04a6a7014c2ef38586d56baf3