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

How to Install module-alias software package in NPM Packages

module-alias : Create aliases of directories and register custom module paths in NodeJS like a boss!. You can installing 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 module-alias
$ sudo npm install -g module-alias

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

$ sudo npm update module-alias

Update package globally,

$ npm install -g module-alias

Git clone:

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

module-alias@2.0.3 /usr/lib/node_modules/module-alias

How to remove module-alias package :

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

$ sudo npm uninstall module-alias

Basic Information of module-alias NPM Package:

Package Name module-alias
Version 2.0.3
Description Create aliases of directories and register custom module paths in NodeJS like a boss!
Released Date 2017-11-22T12:05:26.252Z
Published by ilearnio
How to Learn https://www.npmjs.com/package/module-alias/tutorial