How to Install modernizr NPM Packages on Ubuntu / Debian

How to Install modernizr software package in NPM Packages

modernizr : Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user?s browser.. You can installing modernizr 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 modernizr
$ sudo npm install -g modernizr

If want to update the modernizr package execute the command as below,

$ sudo npm update modernizr

Update package globally,

$ npm install -g modernizr

Git clone:

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

modernizr@3.5.0 /usr/lib/node_modules/modernizr

How to remove modernizr package :

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

$ sudo npm uninstall modernizr

Basic Information of modernizr NPM Package:

Package Name modernizr
Version 3.5.0
Description Modernizr is a JavaScript library that detects HTML5 and CSS3 features in the user?s browser.
Released Date 2017-04-13T21:09:27.476Z
Published by patrickkettner
How to Learn https://www.npmjs.com/package/modernizr/tutorial