How to Install is-jpg NPM Packages on Ubuntu / Debian

How to Install is-jpg software package in NPM Packages

is-jpg : Check if a Buffer/Uint8Array is a JPEG image. You can installing is-jpg 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-jpg
$ sudo npm install -g is-jpg

If want to update the is-jpg package execute the command as below,

$ sudo npm update is-jpg

Update package globally,

$ npm install -g is-jpg

Git clone:

$ sudo  git clone https://github.com/rektide/is-jpg.git
$ sudo  npm install -g ./is-jpg

is-jpg@1.0.0 /usr/lib/node_modules/is-jpg

How to remove is-jpg package :

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

$ sudo npm uninstall is-jpg

Basic Information of is-jpg NPM Package:

Package Name is-jpg
Version 1.0.0
Description Check if a Buffer/Uint8Array is a JPEG image
Released Date 2014-08-14T14:39:20.490Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/is-jpg/tutorial