• Version 7.0.3
  • Published
  • 14.9 kB
  • No dependencies
  • MIT license


npm i co-compose
yarn add co-compose
pnpm add co-compose


AdonisJS and Koa style middleware layer with ability to run parallel middleware



class Middleware

class Middleware {}
  • Exposes the API to register middleware and later execute them using the runner.

method register

register: (list: any[]) => this;
  • Register an array of middleware to executed later.

method runner

runner: () => Runnable;
  • Returns an instance of runner to execute the middleware

Package Files (2)

Dependencies (0)

No dependencies.

Dev Dependencies (21)

Peer Dependencies (0)

No peer dependencies.


To add a badge like this badgeto your package's README, use the codes available below.

You may also use to create a custom badge linking to

  • Markdown
  • HTML
    <a href=""><img src="" alt=""></a>