rollup-plugin-cleanup : Rollup plugin to trim trailing spaces, compact empty lines, and normalize line endings. You can installing rollup-plugin-cleanup 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 rollup-plugin-cleanup $ sudo npm install -g rollup-plugin-cleanup
If want to update the rollup-plugin-cleanup package execute the command as below,
$ sudo npm update rollup-plugin-cleanup
Update package globally,
$ npm install -g rollup-plugin-cleanup
$ sudo git clone https://github.com/rektide/rollup-plugin-cleanup.git
$ sudo npm install -g ./rollup-plugin-cleanup
rollup-plugin-cleanup@2.0.0 /usr/lib/node_modules/rollup-plugin-cleanup
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall rollup-plugin-cleanup
| Package Name | rollup-plugin-cleanup |
| Version | 2.0.0 |
| Description | Rollup plugin to trim trailing spaces, compact empty lines, and normalize line endings |
| Released Date | 2017-10-19T21:40:37.081Z |
| Published by | amarcruz |
| How to Learn | https://www.npmjs.com/package/rollup-plugin-cleanup/tutorial |