How to Install image-size NPM Packages on Ubuntu / Debian

How to Install image-size software package in NPM Packages

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

Git clone:

$ 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

How to remove image-size package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall image-size

Basic Information of image-size NPM Package:

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