https://github.com/sindresorhus/delay-cli
Delay execution for a given amount of seconds
https://github.com/sindresorhus/delay-cli
cli-app delay nodejs npm-package sleep
Last synced: 11 months ago
JSON representation
Delay execution for a given amount of seconds
- Host: GitHub
- URL: https://github.com/sindresorhus/delay-cli
- Owner: sindresorhus
- License: mit
- Created: 2018-04-07T13:14:24.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T15:45:21.000Z (over 2 years ago)
- Last Synced: 2025-03-28T23:36:05.289Z (11 months ago)
- Topics: cli-app, delay, nodejs, npm-package, sleep
- Language: JavaScript
- Size: 5.86 KB
- Stars: 85
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Security: .github/security.md
Awesome Lists containing this project
README
# delay-cli
> Delay execution for a given amount of seconds
Similar to the [`sleep`](https://en.wikipedia.org/wiki/Sleep_(Unix)) command, but cross-platform.
## Install
```sh
npm install --global delay-cli
```
## Usage
```
$ delay --help
Usage
$ delay
Example
$ delay 4.3 && echo 🦄
```
## Related
- [delay](https://github.com/sindresorhus/delay) - API for this module