image-size : get dimensions of any image file. You can installing image-size 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-size $ sudo npm install -g image-size
If want to update the image-size package execute the command as below,
$ sudo npm update image-size
Update package globally,
$ npm install -g image-size
$ sudo git clone https://github.com/rektide/image-size.git
$ sudo npm install -g ./image-size
image-size@0.6.1 /usr/lib/node_modules/image-size
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall image-size
Package Name | image-size |
Version | 0.6.1 |
Description | get dimensions of any image file |
Released Date | 2017-07-19T12:52:25.880Z |
Published by | netroy |
How to Learn | https://www.npmjs.com/package/image-size/tutorial |