Skip to content

extra-sleep.sh 1.0.19

Install from the command line:
Learn more about npm packages
$ npm install @nodef/extra-sleep.sh@1.0.19
Install via package.json:
"@nodef/extra-sleep.sh": "1.0.19"

About this version

Sleep for specified time.
πŸ“¦ Node.js, 🌐 Web, 🐚 Shell, πŸ“œ Files, πŸ“° Docs, πŸ“˜ Wiki.

sleep is a command in Unix-like operating systems that suspends program execution for specified time. This package provides the esleep command, with a similar behaviour. Please check examples below. It should be noted small delays (few milliseconds) are not accurate.

Stability: Experimental.


# Install
$ npm install -g extra-sleep.sh

$ esleep <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
$ esleep 0.1

# sleep for 1.23 minutes
$ esleep 1.23m

# sleep for 1 day 23 hours
$ esleep 1d 23h


References



DOI Coverage Status Test Coverage Maintainability

Details


Assets

  • extra-sleep.sh-1.0.19.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0