How to Install node-fs-extra NPM Packages on Ubuntu / Debian

How to Install node-fs-extra software package in NPM Packages

node-fs-extra : fs-extra contains methods that arent included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.. You can installing node-fs-extra npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install node-fs-extra
$ sudo npm install -g node-fs-extra

If want to update the node-fs-extra package execute the command as below,

$ sudo npm update node-fs-extra

Update package globally,

$ npm install -g node-fs-extra

Git clone:

$ sudo  git clone https://github.com/rektide/node-fs-extra.git
$ sudo  npm install -g ./node-fs-extra

node-fs-extra@0.8.2 /usr/lib/node_modules/node-fs-extra

How to remove node-fs-extra package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall node-fs-extra

Basic Information of node-fs-extra NPM Package:

Package Name node-fs-extra
Version 0.8.2
Description fs-extra contains methods that arent included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
Released Date 2017-04-09T04:54:28.112Z
Published by henrytao
How to Learn https://www.npmjs.com/package/node-fs-extra/tutorial