2.0.0 • Published 6 years ago

kronos-koa v2.0.0

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
6 years ago

npm Greenkeeper semantic-release styled with prettier Build Status codecov.io Coverage Status Known Vulnerabilities GitHub Issues Stories in Ready Dependency Status devDependency Status docs XO code style downloads Commitizen friendly

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

2.0.0

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.2

7 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago