find-parent-dir : Finds the first parent directory that contains a given file or directory.. You can installing find-parent-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 find-parent-dir $ sudo npm install -g find-parent-dir
If want to update the find-parent-dir package execute the command as below,
$ sudo npm update find-parent-dir
Update package globally,
$ npm install -g find-parent-dir
$ sudo git clone https://github.com/rektide/find-parent-dir.git
$ sudo npm install -g ./find-parent-dir
find-parent-dir@0.3.0 /usr/lib/node_modules/find-parent-dir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall find-parent-dir
Package Name | find-parent-dir |
Version | 0.3.0 |
Description | Finds the first parent directory that contains a given file or directory. |
Released Date | 2014-03-29T16:36:11.160Z |
Published by | thlorenz |
How to Learn | https://www.npmjs.com/package/find-parent-dir/tutorial |