joi-objectid : A MongoDB ObjectId validator for Joi. You can installing joi-objectid 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-objectid $ sudo npm install -g joi-objectid
If want to update the joi-objectid package execute the command as below,
$ sudo npm update joi-objectid
Update package globally,
$ npm install -g joi-objectid
$ sudo git clone https://github.com/rektide/joi-objectid.git
$ sudo npm install -g ./joi-objectid
joi-objectid@2.0.0 /usr/lib/node_modules/joi-objectid
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall joi-objectid
Package Name | joi-objectid |
Version | 2.0.0 |
Description | A MongoDB ObjectId validator for Joi |
Released Date | 2015-08-27T22:55:32.345Z |
Published by | pebble-tech |
How to Learn | https://www.npmjs.com/package/joi-objectid/tutorial |