is-image : Check if a filepath is an image. You can installing is-image 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-image $ sudo npm install -g is-image
If want to update the is-image package execute the command as below,
$ sudo npm update is-image
Update package globally,
$ npm install -g is-image
$ sudo git clone https://github.com/rektide/is-image.git
$ sudo npm install -g ./is-image
is-image@2.0.0 /usr/lib/node_modules/is-image
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-image
Package Name | is-image |
Version | 2.0.0 |
Description | Check if a filepath is an image |
Released Date | 2017-07-07T10:03:53.045Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/is-image/tutorial |