Skip to content

thiagodp/sleepx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm (tag) License

sleepx

⏱ Run the same sleep-like command in multiple OSes

  • Same syntax as Unix's sleep
  • Runs on any OS that NodeJS runs
  • Works with NodeJS 8+
  • No external dependencies

Install

$ npm i -g sleepx

Usage

Sleep for 5 seconds:

$ sleepx 5

Sleep for 5 hours:

$ sleepx 5h

Sleep for 5 days:

$ sleepx 5d

Other:

$ sleepx --version
$ sleepx --help

License

MIT © Thiago Delgado Pinto