How to Install node-exceptions NPM Packages on Ubuntu / Debian

How to Install node-exceptions software package in NPM Packages

node-exceptions : Extendable error class for nodejs to extend native errors. You can installing node-exceptions 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 node-exceptions
$ sudo npm install -g node-exceptions

If want to update the node-exceptions package execute the command as below,

$ sudo npm update node-exceptions

Update package globally,

$ npm install -g node-exceptions

Git clone:

$ sudo  git clone https://github.com/rektide/node-exceptions.git
$ sudo  npm install -g ./node-exceptions

node-exceptions@2.0.2 /usr/lib/node_modules/node-exceptions

How to remove node-exceptions package :

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

$ sudo npm uninstall node-exceptions

Basic Information of node-exceptions NPM Package:

Package Name node-exceptions
Version 2.0.2
Description Extendable error class for nodejs to extend native errors
Released Date 2017-06-12T10:46:22.900Z
Published by virk
How to Learn https://www.npmjs.com/package/node-exceptions/tutorial