How to Install hapi-auth-basic NPM Packages on Ubuntu / Debian

How to Install hapi-auth-basic software package in NPM Packages

hapi-auth-basic : Basic authentication plugin. You can installing hapi-auth-basic 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 hapi-auth-basic
$ sudo npm install -g hapi-auth-basic

If want to update the hapi-auth-basic package execute the command as below,

$ sudo npm update hapi-auth-basic

Update package globally,

$ npm install -g hapi-auth-basic

Git clone:

$ sudo  git clone https://github.com/rektide/hapi-auth-basic.git
$ sudo  npm install -g ./hapi-auth-basic

hapi-auth-basic@4.2.0 /usr/lib/node_modules/hapi-auth-basic

How to remove hapi-auth-basic package :

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

$ sudo npm uninstall hapi-auth-basic

Basic Information of hapi-auth-basic NPM Package:

Package Name hapi-auth-basic
Version 4.2.0
Description Basic authentication plugin
Released Date 2016-05-19T18:02:07.311Z
Published by mtharrison
How to Learn https://www.npmjs.com/package/hapi-auth-basic/tutorial