directory-tree : Convert a directory tree to a JS object.. You can installing directory-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 directory-tree $ sudo npm install -g directory-tree
If want to update the directory-tree package execute the command as below,
$ sudo npm update directory-tree
Update package globally,
$ npm install -g directory-tree
$ sudo git clone https://github.com/rektide/directory-tree.git
$ sudo npm install -g ./directory-tree
directory-tree@2.0.0 /usr/lib/node_modules/directory-tree
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall directory-tree
Package Name | directory-tree |
Version | 2.0.0 |
Description | Convert a directory tree to a JS object. |
Released Date | 2017-05-17T05:41:56.759Z |
Published by | mihneadb |
How to Learn | https://www.npmjs.com/package/directory-tree/tutorial |