/compose

Middleware composition utility

Primary LanguageJavaScriptMIT LicenseMIT

koa-compose

NPM version Node.js CI Test coverage Dependency Status License Downloads

Compose middleware specifically for Koa.

Installation

$ npm install koa-compose

Maintainers

API

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

Compose the given middleware and return middleware.

License

MIT