How to Install strip-comments NPM Packages on Ubuntu / Debian

How to Install strip-comments software package in NPM Packages

strip-comments : Strip comments from code. Removes line comments, block comments, the first comment only, or all comments. Optionally leave protected comments unharmed.. You can installing strip-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 strip-comments
$ sudo npm install -g strip-comments

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

$ sudo npm update strip-comments

Update package globally,

$ npm install -g strip-comments

Git clone:

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

strip-comments@0.4.4 /usr/lib/node_modules/strip-comments

How to remove strip-comments package :

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

$ sudo npm uninstall strip-comments

Basic Information of strip-comments NPM Package:

Package Name strip-comments
Version 0.4.4
Description Strip comments from code. Removes line comments, block comments, the first comment only, or all comments. Optionally leave protected comments unharmed.
Released Date 2016-02-14T23:12:59.259Z
Published by jonschlinkert
How to Learn https://www.npmjs.com/package/strip-comments/tutorial