required-keys : make sure the desired key value pairs exist in a given object. You can installing required-keys 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 required-keys $ sudo npm install -g required-keys
If want to update the required-keys package execute the command as below,
$ sudo npm update required-keys
Update package globally,
$ npm install -g required-keys
$ sudo git clone https://github.com/rektide/required-keys.git
$ sudo npm install -g ./required-keys
required-keys@1.0.5 /usr/lib/node_modules/required-keys
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall required-keys
| Package Name | required-keys |
| Version | 1.0.5 |
| Description | make sure the desired key value pairs exist in a given object |
| Released Date | 2013-04-09T15:13:11.489Z |
| Published by | clewfirst |
| How to Learn | https://www.npmjs.com/package/required-keys/tutorial |