commondir : compute the closest common parent for file paths. You can installing commondir 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 commondir $ sudo npm install -g commondir
If want to update the commondir package execute the command as below,
$ sudo npm update commondir
Update package globally,
$ npm install -g commondir
$ sudo git clone https://github.com/rektide/commondir.git
$ sudo npm install -g ./commondir
commondir@1.0.1 /usr/lib/node_modules/commondir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall commondir
Package Name | commondir |
Version | 1.0.1 |
Description | compute the closest common parent for file paths |
Released Date | 2015-03-14T00:15:01.725Z |
Published by | substack |
How to Learn | https://www.npmjs.com/package/commondir/tutorial |