An open API service indexing awesome lists of open source software.

https://github.com/plasmapower/call-middleware

A Koa utility to call middleware utilizing wrappers
https://github.com/plasmapower/call-middleware

Last synced: 22 days ago
JSON representation

A Koa utility to call middleware utilizing wrappers

Awesome Lists containing this project

README

          

# Call Middleware

Calls [Koa](https://github.com/koajs/koa) middleware, utilizing the wrappers array in context.
Only accepts a non-generator context function (this is intended for Koa v2).

## Example Use

```js
callMiddleware(middleware, context, next);
```