How to Install find-parent-dir NPM Packages on Ubuntu / Debian

How to Install find-parent-dir software package in NPM Packages

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

Git clone:

$ 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

How to remove find-parent-dir package :

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

$ sudo npm uninstall find-parent-dir

Basic Information of find-parent-dir NPM Package:

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