strip-indent : Strip leading whitespace from each line in a string. You can installing strip-indent 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-indent $ sudo npm install -g strip-indent
If want to update the strip-indent package execute the command as below,
$ sudo npm update strip-indent
Update package globally,
$ npm install -g strip-indent
$ sudo git clone https://github.com/rektide/strip-indent.git
$ sudo npm install -g ./strip-indent
strip-indent@2.0.0 /usr/lib/node_modules/strip-indent
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall strip-indent
| Package Name | strip-indent |
| Version | 2.0.0 |
| Description | Strip leading whitespace from each line in a string |
| Released Date | 2016-04-22T05:47:23.270Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/strip-indent/tutorial |