How to Install browserslist NPM Packages on Ubuntu / Debian

How to Install browserslist software package in NPM Packages

browserslist : Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset. You can installing browserslist 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 browserslist
$ sudo npm install -g browserslist

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

$ sudo npm update browserslist

Update package globally,

$ npm install -g browserslist

Git clone:

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

browserslist@2.9.1 /usr/lib/node_modules/browserslist

How to remove browserslist package :

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

$ sudo npm uninstall browserslist

Basic Information of browserslist NPM Package:

Package Name browserslist
Version 2.9.1
Description Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
Released Date 2017-11-23T15:56:28.627Z
Published by ai
How to Learn https://www.npmjs.com/package/browserslist/tutorial