https://github.com/thiagodp/sleepx
⏱ Run a sleep-like command in multiple OSes
https://github.com/thiagodp/sleepx
cli linux macos sleep terminal timeout tool wait windows
Last synced: 2 months ago
JSON representation
⏱ Run a sleep-like command in multiple OSes
- Host: GitHub
- URL: https://github.com/thiagodp/sleepx
- Owner: thiagodp
- License: mit
- Created: 2022-01-17T00:55:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T01:28:22.000Z (over 3 years ago)
- Last Synced: 2025-01-07T15:04:43.816Z (4 months ago)
- Topics: cli, linux, macos, sleep, terminal, timeout, tool, wait, windows
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://github.com/thiagodp/sleepx/releases)
[](LICENSE.txt)# 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
```bash
$ npm i -g sleepx
```## Usage
Sleep for 5 seconds:
```bash
$ sleepx 5
```Sleep for 5 hours:
```bash
$ sleepx 5h
```Sleep for 5 days:
```bash
$ sleepx 5d
```Other:
```bash
$ sleepx --version
$ sleepx --help
```## License
[MIT](LICENSE.txt) © [Thiago Delgado Pinto](https://github.com/thiagodp)