1.1.0 • Published 6 months ago

timeout-cmd v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

README

npm version install size npm downloads

A command to sleep for specified time.

npm i timeout-cmd --save-dev

Usage

# sleep 2 seconds
npx timeout-cmd 2

# sleep 2.5 seconds
timeout-cmd 2.5s

# sleep 100 milliseconds
npx timeout-cmd 100ms

Options

COMMAND
  timeout-cmd <time>

EXAMPLES
  # sleep 2 seconds
  timeout-cmd 2
  # sleep 2.5 seconds
  timeout-cmd 2.5s
  # sleep 100 milliseconds
  timeout-cmd 100ms

  Note: The unit can be "s" or "ms" and it is optional.
        The default unit is "s".

OPTIONS
  --help, -h       Print this message.

License

MIT

1.1.0

6 months ago

1.0.0

6 months ago

0.0.1-alpha.3

6 months ago

0.0.1-alpha.2

6 months ago

0.0.1-alpha.1

6 months ago