How to Install postcss-discard-comments NPM Packages on Ubuntu / Debian

How to Install postcss-discard-comments software package in NPM Packages

postcss-discard-comments : Discard comments in your CSS files with PostCSS.. You can installing postcss-discard-comments 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 postcss-discard-comments
$ sudo npm install -g postcss-discard-comments

If want to update the postcss-discard-comments package execute the command as below,

$ sudo npm update postcss-discard-comments

Update package globally,

$ npm install -g postcss-discard-comments

Git clone:

$ sudo  git clone https://github.com/rektide/postcss-discard-comments.git
$ sudo  npm install -g ./postcss-discard-comments

postcss-discard-comments@2.0.4 /usr/lib/node_modules/postcss-discard-comments

How to remove postcss-discard-comments package :

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

$ sudo npm uninstall postcss-discard-comments

Basic Information of postcss-discard-comments NPM Package:

Package Name postcss-discard-comments
Version 2.0.4
Description Discard comments in your CSS files with PostCSS.
Released Date 2016-02-10T17:01:23.310Z
Published by beneb
How to Learn https://www.npmjs.com/package/postcss-discard-comments/tutorial