How to Install and Uninstall node-mock-fs Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 20,2024

1. Install "node-mock-fs" package

Please follow the instructions below to install node-mock-fs on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "node-mock-fs" package

Please follow the guidelines below to uninstall node-mock-fs on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the node-mock-fs package on Ubuntu 20.04 LTS (Focal Fossa)

Package: node-mock-fs
Architecture: all
Version: 4.10.4-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: 127
Depends: nodejs
Filename: pool/universe/n/node-mock-fs/node-mock-fs_4.10.4-1_all.deb
Size: 24280
MD5sum: 21d34379f10e376512f585c918cc1924
SHA1: 0366734e1555f896d183fe1b48fcc36cab3b92c7
SHA256: ae6aaa9e8cd6a9008005cc7dd41e2ecdb156f01ce6b5f26db8410f3e5b04065c
Homepage: https://github.com/tschaub/mock-fs
Description: configurable mock for Node.js module fs
Description-md5: 6f43e98706782027ef69419a7843214a