@koax/promise

1.0.0 • Public • Published

promise

Build status Git tag NPM version Code style

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

Installation

$ npm install @koax/promise

Middleware

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

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @koax/promise

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • koax