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
- Host: GitHub
- URL: https://github.com/plasmapower/call-middleware
- Owner: PlasmaPower
- Created: 2016-03-25T02:33:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-10T21:03:57.000Z (about 10 years ago)
- Last Synced: 2025-02-25T12:48:20.471Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
```