sleep : Add sleep() and usleep() to nodejs. You can installing sleep 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 sleep $ sudo npm install -g sleep
If want to update the sleep package execute the command as below,
$ sudo npm update sleep
Update package globally,
$ npm install -g sleep
$ sudo git clone https://github.com/rektide/sleep.git
$ sudo npm install -g ./sleep
sleep@5.1.1 /usr/lib/node_modules/sleep
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall sleep
| Package Name | sleep |
| Version | 5.1.1 |
| Description | Add sleep() and usleep() to nodejs |
| Released Date | 2017-04-08T03:07:56.248Z |
| Published by | erikdubbelboer |
| How to Learn | https://www.npmjs.com/package/sleep/tutorial |