https://github.com/sergeysova/awaitfor
Command line program to await for service is up.
https://github.com/sergeysova/awaitfor
Last synced: 11 months ago
JSON representation
Command line program to await for service is up.
- Host: GitHub
- URL: https://github.com/sergeysova/awaitfor
- Owner: sergeysova
- Created: 2016-05-20T15:08:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-20T15:49:35.000Z (about 10 years ago)
- Last Synced: 2025-08-31T05:57:09.032Z (11 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/awaitfor
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Await/For
Command line program to await for service is up.
## Purpose
```bash
npm i -g awaitfor
await http://dev.mysuperservice.com
```
Start checking every 1 second by default
```
Check address: http://dev.mysuperservice.com
#1 Nothing...
#2 Nothing...
#3 Nothing...
#4 Nothing...
#5 Nothing...
#6 Nothing...
#7 Nothing...
--- Address http://dev.mysuperservice.com is available!!! Notify
```
And show notification with [node-notifier](http://npmjs.com/node-notifier)
## Seconds
You can specify seconds:
```bash
await http://service.com 5
```
```
Check address: http://service.com
Wait 5 seconds before try
#1 Nothing...
#2 Nothing...
```
## help
So you can view small help.
```bash
await -h
# or
await --help
```