How to Install mocha-phantomjs NPM Packages on Ubuntu / Debian

How to Install mocha-phantomjs software package in NPM Packages

mocha-phantomjs : Run mocha browser tests in phantomjs via the command line. You can installing mocha-phantomjs 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 mocha-phantomjs
$ sudo npm install -g mocha-phantomjs

If want to update the mocha-phantomjs package execute the command as below,

$ sudo npm update mocha-phantomjs

Update package globally,

$ npm install -g mocha-phantomjs

Git clone:

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

mocha-phantomjs@4.1.0 /usr/lib/node_modules/mocha-phantomjs

How to remove mocha-phantomjs package :

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

$ sudo npm uninstall mocha-phantomjs

Basic Information of mocha-phantomjs NPM Package:

Package Name mocha-phantomjs
Version 4.1.0
Description Run mocha browser tests in phantomjs via the command line
Released Date 2016-06-20T05:17:02.767Z
Published by nathanboktae
How to Learn https://www.npmjs.com/package/mocha-phantomjs/tutorial