How to Install require-tree NPM Packages on Ubuntu / Debian

How to Install require-tree software package in NPM Packages

require-tree : Batch module loader, require() for directories. You can installing require-tree 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 require-tree
$ sudo npm install -g require-tree

If want to update the require-tree package execute the command as below,

$ sudo npm update require-tree

Update package globally,

$ npm install -g require-tree

Git clone:

$ sudo  git clone https://github.com/rektide/require-tree.git
$ sudo  npm install -g ./require-tree

require-tree@1.1.1 /usr/lib/node_modules/require-tree

How to remove require-tree package :

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

$ sudo npm uninstall require-tree

Basic Information of require-tree NPM Package:

Package Name require-tree
Version 1.1.1
Description Batch module loader, require() for directories
Released Date 2015-10-13T08:07:22.259Z
Published by ricardobeat
How to Learn https://www.npmjs.com/package/require-tree/tutorial