# awaitfor

> Await when website is up and notificate

Latest version **1.1.1** (published 2016-05-20) · GPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install awaitfor
pnpm add awaitfor
yarn add awaitfor
bun add awaitfor
```

Provides the command `await`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2016-05-20 |
| First published | 2016-05-20 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+26 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Sergey Sova |
| Maintainers | lestad |
| Keywords | await, http, check, up, down |

## Links

- npm: https://www.npmjs.com/package/awaitfor
- Repository: https://github.com/LestaD/awaitfor
- Homepage: https://github.com/LestaD/awaitfor#readme
- Issues: https://github.com/LestaD/awaitfor/issues
- npm.io page: https://npm.io/package/awaitfor

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.11.1
- [node-notifier](https://npm.io/package/node-notifier.md) ^4.5.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.1.1 (latest) — 2016-05-20
- 1.0.0 — 2016-05-20

## 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
```

---
_Source: https://npm.io/package/awaitfor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
