# @koax/promise

> Koax promise middleware.

Latest version **1.0.0** (published 2016-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @koax/promise
pnpm add @koax/promise
yarn add @koax/promise
bun add @koax/promise
```

## 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-02-06 |
| First published | 2016-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | koax |

## Links

- npm: https://www.npmjs.com/package/@koax/promise
- Repository: https://github.com/koaxjs/promise
- Homepage: https://github.com/koaxjs/promise#readme
- Issues: https://github.com/koaxjs/promise/issues
- npm.io page: https://npm.io/package/@koax/promise

## Dependencies (1)

- [@f/is-promise](https://npm.io/package/@f/is-promise.md) ^1.1.1

## Recent versions

- 1.0.0 (latest) — 2016-02-06
- 0.1.1 — 2016-02-06

## README

# promise

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Promise middleware. Included in Koax to give it promise support.

## Installation

    $ npm install @koax/promise

## Middleware

```js
function promise (action, next) {
  if (isPromise(action)) return action
  return next()
}
```

## License

MIT

[travis-image]: https://img.shields.io/travis/koaxjs/promise.svg?style=flat-square
[travis-url]: https://travis-ci.org/koaxjs/promise
[git-image]: https://img.shields.io/github/tag/koaxjs/promise.svg
[git-url]: https://github.com/koaxjs/promise
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@koax/promise.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@koax/promise

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