resolve-dir : Resolve a directory that is either local, global or in the users home directory.. You can installing resolve-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 resolve-dir $ sudo npm install -g resolve-dir
If want to update the resolve-dir package execute the command as below,
$ sudo npm update resolve-dir
Update package globally,
$ npm install -g resolve-dir
$ sudo git clone https://github.com/rektide/resolve-dir.git
$ sudo npm install -g ./resolve-dir
resolve-dir@1.0.1 /usr/lib/node_modules/resolve-dir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall resolve-dir
| Package Name | resolve-dir |
| Version | 1.0.1 |
| Description | Resolve a directory that is either local, global or in the users home directory. |
| Released Date | 2017-08-05T23:49:52.684Z |
| Published by | phated |
| How to Learn | https://www.npmjs.com/package/resolve-dir/tutorial |