How to Install babel-plugin-module-alias NPM Packages on Ubuntu / Debian

How to Install babel-plugin-module-alias software package in NPM Packages

babel-plugin-module-alias : Babel plugin to rewrite the path in require() and ES6 import. You can installing babel-plugin-module-alias 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 babel-plugin-module-alias
$ sudo npm install -g babel-plugin-module-alias

If want to update the babel-plugin-module-alias package execute the command as below,

$ sudo npm update babel-plugin-module-alias

Update package globally,

$ npm install -g babel-plugin-module-alias

Git clone:

$ sudo  git clone https://github.com/rektide/babel-plugin-module-alias.git
$ sudo  npm install -g ./babel-plugin-module-alias

babel-plugin-module-alias@1.6.0 /usr/lib/node_modules/babel-plugin-module-alias

How to remove babel-plugin-module-alias package :

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

$ sudo npm uninstall babel-plugin-module-alias

Basic Information of babel-plugin-module-alias NPM Package:

Package Name babel-plugin-module-alias
Version 1.6.0
Description Babel plugin to rewrite the path in require() and ES6 import
Released Date 2016-07-24T17:16:23.053Z
Published by tleunen
How to Learn https://www.npmjs.com/package/babel-plugin-module-alias/tutorial