How to Install and Uninstall node-mocks-http Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: February 02,2025
1. Install "node-mocks-http" package
This tutorial shows how to install node-mocks-http on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
node-mocks-http
Copied
2. Uninstall "node-mocks-http" package
In this section, we are going to explain the necessary steps to uninstall node-mocks-http on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
node-mocks-http
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the node-mocks-http package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: node-mocks-http
Priority: extra
Section: universe/web
Installed-Size: 77
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Version: 1.5.1-3
Depends: nodejs, node-mime (>= 1.3.4), node-type-is
Filename: pool/universe/n/node-mocks-http/node-mocks-http_1.5.1-3_all.deb
Size: 15426
MD5sum: 351ce8953991f4b752fdb8536c6019fd
SHA1: c47a1b70ff9cf5f4446dd9280354d4dda4b86d74
SHA256: 1f1b237736f7652efbbf44f0cac8739ecdf9a259136fc311646605ff9b10431c
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
Homepage: https://github.com/howardabrams/node-mocks-http
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: extra
Section: universe/web
Installed-Size: 77
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Version: 1.5.1-3
Depends: nodejs, node-mime (>= 1.3.4), node-type-is
Filename: pool/universe/n/node-mocks-http/node-mocks-http_1.5.1-3_all.deb
Size: 15426
MD5sum: 351ce8953991f4b752fdb8536c6019fd
SHA1: c47a1b70ff9cf5f4446dd9280354d4dda4b86d74
SHA256: 1f1b237736f7652efbbf44f0cac8739ecdf9a259136fc311646605ff9b10431c
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
Homepage: https://github.com/howardabrams/node-mocks-http
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu