image-type : Detect the image type of a Buffer/Uint8Array. You can installing image-type 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 image-type $ sudo npm install -g image-type
If want to update the image-type package execute the command as below,
$ sudo npm update image-type
Update package globally,
$ npm install -g image-type
$ sudo git clone https://github.com/rektide/image-type.git
$ sudo npm install -g ./image-type
image-type@3.0.0 /usr/lib/node_modules/image-type
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall image-type
Package Name | image-type |
Version | 3.0.0 |
Description | Detect the image type of a Buffer/Uint8Array |
Released Date | 2017-01-19T17:44:44.690Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/image-type/tutorial |