How to Install joi NPM Packages on Ubuntu / Debian

How to Install joi software package in NPM Packages

joi : Object schema validation. You can installing joi 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 joi
$ sudo npm install -g joi

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

$ sudo npm update joi

Update package globally,

$ npm install -g joi

Git clone:

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

joi@13.0.2 /usr/lib/node_modules/joi

How to remove joi package :

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

$ sudo npm uninstall joi

Basic Information of joi NPM Package:

Package Name joi
Version 13.0.2
Description Object schema validation
Released Date 2017-11-12T20:18:50.781Z
Published by marsup
How to Learn https://www.npmjs.com/package/joi/tutorial