sleep.cmd 2.0.4
Install from the command line:
Learn more about npm packages
$ npm install @nodef/sleep.cmd@2.0.4
Install via package.json:
"@nodef/sleep.cmd": "2.0.4"
About this version
Sleep for specified time in Windows Console.
🖥️ Node.js,
📜 Files,
Exactly same as sleep in Unix.
Source code for windows executable.
# Install on Windows
$ npm install -g sleep.cmd
$ sleep <number>[unit] | [option]
# Units:
# s: sleep for number seconds.
# m: sleep for number minutes.
# h: sleep for number hours.
# d: sleep for number days.
# Options:
# --help: get help
# --version: get version details
# sleep for 0.1 seconds
$ sleep 0.1
# sleep for 1.23 minutes
$ sleep 1.23m
# sleep for 1 day 23 hours
$ sleep 1d && sleep 23h