3.2.0 • Published 6 months ago

koii v3.2.0

Weekly downloads
20
License
MIT
Repository
github
Last release
6 months ago

KOII

star this repo fork this repo npm Open Source Love Open Source Love

Koii is a simple ExpressJS middleware used to print all routes accessible in an application to the console on start.

Koii is inspired by Jackie and the fish

Install

npm install koii

Usage

To use Koii simply add it as a middleware in your express application. To do that, you need to first import Koii.

This can be done with requireJS or the ES6 import statements as shown below:

// we require this way because koii is currently exported as an esModule
const koii = require('koii');

OR

import koii from 'koii';

Once this is done, you can add the middleware with the statement

app.use(koii)

An example can be found in this github gist. Ensure you do this after all your route definitions, if not the middleware won't have access to the routes defined.

Read more about Koii here

Inspired by @danielb2's Blipp plugin for HapiJS

3.2.0

6 months ago

3.0.2

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.0.11

3 years ago

2.0.10

3 years ago

2.0.7

3 years ago

2.0.9

3 years ago

2.0.8

3 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago