How to Install mockery NPM Packages on Ubuntu / Debian

How to Install mockery software package in NPM Packages

mockery : Simplifying the use of mocks with Node.js. You can installing mockery 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 mockery
$ sudo npm install -g mockery

If want to update the mockery package execute the command as below,

$ sudo npm update mockery

Update package globally,

$ npm install -g mockery

Git clone:

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

mockery@2.1.0 /usr/lib/node_modules/mockery

How to remove mockery package :

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

$ sudo npm uninstall mockery

Basic Information of mockery NPM Package:

Package Name mockery
Version 2.1.0
Description Simplifying the use of mocks with Node.js
Released Date 2017-06-26T12:25:08.585Z
Published by davglass
How to Learn https://www.npmjs.com/package/mockery/tutorial