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

Last updated: May 20,2024

1. Install "node-mock-fs" package

Please follow the steps below to install node-mock-fs on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-mock-fs

2. Uninstall "node-mock-fs" package

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

$ sudo apt remove node-mock-fs $ sudo apt autoclean && sudo apt autoremove

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

Package: node-mock-fs
Architecture: all
Version: 4.13.0-1
Priority: optional
Section: universe/javascript
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 145
Depends: nodejs
Filename: pool/universe/n/node-mock-fs/node-mock-fs_4.13.0-1_all.deb
Size: 27796
MD5sum: 4a08e33cd45425c57ce91934f129d547
SHA1: c529544424add048673bfa661fd42e2115333eb3
SHA256: 9859071549a262ef6064a43e1f0312f12dd829567ac3e0002500d18736b64608
SHA512: 06f1444d64585941307312eb6a2b7914e7faf2a2edfff7e61adf44400c4c6a0d38e39adf3ecb2c81c9ca305ba309ea7d807bf563af638cff4f82bc59af130bda
Homepage: https://github.com/tschaub/mock-fs
Description-en: configurable mock for Node.js module fs
The "mock-fs" module allows Node's built-in "fs" module
to be backed temporarily by an in-memory, mock file system.
This lets you run tests against a set of mock files and directories
instead of lugging around a bunch of test fixtures.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: 6f43e98706782027ef69419a7843214a