when : A lightweight Promises/A+ and when() implementation, plus other async goodies.. You can installing when 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 when $ sudo npm install -g when
If want to update the when package execute the command as below,
$ sudo npm update when
Update package globally,
$ npm install -g when
$ sudo git clone https://github.com/rektide/when.git
$ sudo npm install -g ./when
when@3.7.8 /usr/lib/node_modules/when
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall when
| Package Name | when |
| Version | 3.7.8 |
| Description | A lightweight Promises/A+ and when() implementation, plus other async goodies. |
| Released Date | 2017-02-20T00:51:40.927Z |
| Published by | cujojs |
| How to Learn | https://www.npmjs.com/package/when/tutorial |