How to Install node-dir NPM Packages on Ubuntu / Debian

How to Install node-dir software package in NPM Packages

node-dir : asynchronous file and directory operations for Node.js. You can installing node-dir 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-dir
$ sudo npm install -g node-dir

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

$ sudo npm update node-dir

Update package globally,

$ npm install -g node-dir

Git clone:

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

node-dir@0.1.17 /usr/lib/node_modules/node-dir

How to remove node-dir package :

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

$ sudo npm uninstall node-dir

Basic Information of node-dir NPM Package:

Package Name node-dir
Version 0.1.17
Description asynchronous file and directory operations for Node.js
Released Date 2017-05-30T11:07:09.749Z
Published by fshost
How to Learn https://www.npmjs.com/package/node-dir/tutorial