Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

usleep-cli

jochemstoel20ISC0.0.2

Sleep milliseconds from command line on every platform.

usleep, cli, windows, apple, linux, milliseconds, microsleep

readme

Unlike a lot of Linux, Windows Command Line Interface does not include a microsleep. I have no idea about Apple.

Install

npm i usleep-cli -g

Use

Sleep 2 seconds

usleep 2000

Exit Code

Process exits with exit code = 0. If first and only milliseconds argument is undefined or not a number then process will write error message to stderr pipe and exit with exit code = 1