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

Last updated: November 07,2024

1. Install "node-mocks-http" package

Learn how to install node-mocks-http on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-mocks-http

2. Uninstall "node-mocks-http" package

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

$ sudo apt remove node-mocks-http $ sudo apt autoclean && sudo apt autoremove

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

Package: node-mocks-http
Architecture: all
Version: 1.9.0-2
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 96
Provides: node-node-mocks-http
Depends: node-accepts, node-depd, node-fresh, node-merge-descriptors, node-methods, node-mime (>= 2), node-parseurl, node-range-parser, node-type-is
Filename: pool/universe/n/node-mocks-http/node-mocks-http_1.9.0-2_all.deb
Size: 20348
MD5sum: 1c6f2ca03ca826397e76a562962799b9
SHA1: 6f1a7d439a12968214cdcc9a18ec8fef9ba0abef
SHA256: 0b48f0083dde0b870a9d39984e59d4ccf8a65a695253320c85e250b40a23a939
SHA512: 277013bfaf46ccf14b617f5c7ecf997cb518ad3033b901777c5ed39da99e65a2052b1f554c1ff1a0aa5916559c7943dd6eb93d9df7933520fba9f0205e79c038
Homepage: https://github.com/howardabrams/node-mocks-http
Description-en: Mock 'http' objects for testing Express routing functions
Mock 'http' objects for testing Express routing functions, but could
be used for testing any Node.js web server applications that have code
that requires mockups of the request and response objects
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: ab33ad4a8ae12ab6dc9d7a74f034b0d9