is-directory : Returns true if a filepath exists on the file system and its directory.. You can installing is-directory 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 is-directory $ sudo npm install -g is-directory
If want to update the is-directory package execute the command as below,
$ sudo npm update is-directory
Update package globally,
$ npm install -g is-directory
$ sudo git clone https://github.com/rektide/is-directory.git
$ sudo npm install -g ./is-directory
is-directory@0.3.1 /usr/lib/node_modules/is-directory
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-directory
Package Name | is-directory |
Version | 0.3.1 |
Description | Returns true if a filepath exists on the file system and its directory. |
Released Date | 2016-05-21T18:30:12.378Z |
Published by | jonschlinkert |
How to Learn | https://www.npmjs.com/package/is-directory/tutorial |