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