subdir : return whether a path is a sub-path. You can installing subdir 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 subdir $ sudo npm install -g subdir
If want to update the subdir package execute the command as below,
$ sudo npm update subdir
Update package globally,
$ npm install -g subdir
$ sudo git clone https://github.com/rektide/subdir.git
$ sudo npm install -g ./subdir
subdir@0.0.3 /usr/lib/node_modules/subdir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall subdir
| Package Name | subdir |
| Version | 0.0.3 |
| Description | return whether a path is a sub-path |
| Released Date | 2013-07-10T12:51:37.952Z |
| Published by | substack |
| How to Learn | https://www.npmjs.com/package/subdir/tutorial |