/compose

Middleware composition utility

Primary LanguageJavaScript

koa-compose

NPM version Build status Test coverage Dependency Status License Downloads

Compose middleware.

Installation

$ npm install koa-compose

API

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

Compose the given middleware and return middleware.

License

MIT