kronos-koa
Koa modifications needed by Kronos
API
Table of Contents
KronosKoa
Extends Koa
Kronos variant of koa
use
Overwrite the super function. It will update the middleware chain
Parameters
fn
callback
Overwrites the callback. This is now a dynamic callback. The returned function takes the changing generator chain instead of a fixed one.
hasMiddleware
Returns true if there is still registered middleware
Returns boolean status True if there is still registered middleware
delete
Removes an existing generator function
Parameters
fn
GeneratorFunction The generator function to be deleted
Returns void
respond
Response helper. copied from the original
Parameters
ctx
install
With npm do:
npm install kronos-koa
license
BSD-2-Clause