/compose

Middleware composition utility

Primary LanguageJavaScript

koa-compose Build Status

Compose middleware.

Installation

$ npm install koa-compose

API

compose([a, b, c, ...])

Compose the given middleware and return middleware.

License

MIT