How to Install rollup-plugin-commonjs NPM Packages on Ubuntu / Debian

How to Install rollup-plugin-commonjs software package in NPM Packages

rollup-plugin-commonjs : Convert CommonJS modules to ES2015. You can installing rollup-plugin-commonjs 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-commonjs
$ sudo npm install -g rollup-plugin-commonjs

If want to update the rollup-plugin-commonjs package execute the command as below,

$ sudo npm update rollup-plugin-commonjs

Update package globally,

$ npm install -g rollup-plugin-commonjs

Git clone:

$ sudo  git clone https://github.com/rektide/rollup-plugin-commonjs.git
$ sudo  npm install -g ./rollup-plugin-commonjs

rollup-plugin-commonjs@8.2.6 /usr/lib/node_modules/rollup-plugin-commonjs

How to remove rollup-plugin-commonjs package :

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

$ sudo npm uninstall rollup-plugin-commonjs

Basic Information of rollup-plugin-commonjs NPM Package:

Package Name rollup-plugin-commonjs
Version 8.2.6
Description Convert CommonJS modules to ES2015
Released Date 2017-10-30T07:43:59.640Z
Published by lukastaegert
How to Learn https://www.npmjs.com/package/rollup-plugin-commonjs/tutorial