1.1.0 • Published 3 months ago

koa2mongolog v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 months ago

Koa.js middleware, request/response save to mongodb

Install

npm i koa2mongolog

Usage

const Koa = require('koa');
const app = new Koa();
const bodyParser = require('koa-bodyparser');
const logger = require('koa2mongolog');

app.use(logger({ url: 'mongodb://localhost:27017/',db: 'logs',collection: 'koalogs' }));
app.use(router.routes());
app.listen(port);

Author

Dmitriy Menshov

Show your support

Give a ⭐️ if this project helped you!

License

This project is MIT licensed.

1.1.0

3 months ago

1.0.5

3 months ago

1.0.4

3 months 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