optimist : Light-weight option parsing with an argv hash. No optstrings attached.. You can installing optimist 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 optimist $ sudo npm install -g optimist
If want to update the optimist package execute the command as below,
$ sudo npm update optimist
Update package globally,
$ npm install -g optimist
$ sudo git clone https://github.com/rektide/optimist.git
$ sudo npm install -g ./optimist
optimist@0.6.1 /usr/lib/node_modules/optimist
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall optimist
| Package Name | optimist |
| Version | 0.6.1 |
| Description | Light-weight option parsing with an argv hash. No optstrings attached. |
| Released Date | 2014-02-06T05:40:56.954Z |
| Published by | substack |
| How to Learn | https://www.npmjs.com/package/optimist/tutorial |