# @putout/plugin-remove-useless-await

> putout plugin adds ability to remove useless await

Latest version **1.3.1** (published 2022-02-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @putout/plugin-remove-useless-await
pnpm add @putout/plugin-remove-useless-await
yarn add @putout/plugin-remove-useless-await
bun add @putout/plugin-remove-useless-await
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2022-02-07 |
| First published | 2020-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.3.0 |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 796 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | putout, putout-plugin, plugin, await, useless |

## Links

- npm: https://www.npmjs.com/package/@putout/plugin-remove-useless-await
- Repository: https://github.com/coderaiser/putout
- Homepage: https://github.com/coderaiser/putout/tree/v24.5.0/packages/plugin-remove-useless-await#readme
- Issues: https://github.com/coderaiser/putout/issues
- npm.io page: https://npm.io/package/@putout/plugin-remove-useless-await

## 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.3.1 (latest) — 2022-02-07
- 1.3.0 — 2021-03-11
- 1.2.0 — 2021-03-09
- 1.1.0 — 2021-03-08
- 1.0.0 — 2020-02-28

## README

# @putout/plugin-remove-useless-await [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-await.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-await "npm"

🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to remove useless `await`. Part of [@putout/plugin-promises](https://github.com/coderaiser/putout/tree/v24.5.0/packages/plugin-promises).

## Install

```
npm i @putout/plugin-remove-useless-await
```

## Rule

```json
{
    "rules": {
        "remove-useless-await": "on"
    }
}
```

## ❌ Incorrect code example

```js
await await Promise.resolve();
```

## ✅ Correct code Example

```js
await Promise.resolve();
```

## License

MIT

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