# await-delay

> use delay/sleep to async/await ES7

Latest version **1.0.0** (published 2016-07-21) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install await-delay
pnpm add await-delay
yarn add await-delay
bun add await-delay
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-07-21 |
| First published | 2016-07-21 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | José Moreira |
| Maintainers | about |
| Keywords | await, async, delay, sleep, wait, promises, promise, es7 |

## Links

- npm: https://www.npmjs.com/package/await-delay
- Repository: https://github.com/cusspvz/await-delay
- Homepage: https://github.com/cusspvz/await-delay#readme
- Issues: https://github.com/cusspvz/await-delay/issues
- npm.io page: https://npm.io/package/await-delay

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-07-21

## README

# await-delay

use delay/sleep to async/await ES7

## Installation 

```bash
npm i --save await-delay
```

## Usage

```js
import delay from 'await-delay'

async () => {
  // Do something
  
  // Wait for 2 seconds 
  await delay(2000)

  // Do things after the delay
}

```

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