This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

knex-logger-koa

0.1.1 • Public • Published

Knex Logger for Koa2

A koa2 port of knex-logger

Install

This project is unpublished for now.

Use

import koa from 'koa';

import knex from 'knex';
import knexfile from 'path/to/knexfile'
import knexLogger from 'path/to/knexlogger';

const app = koa();
const db = knex(knexfile);

app.use(knexLogger(db));

TODO

  • [ ] Publish
  • [ ] Add tests
  • [ ] Add CI

License

This project is distributed under the MIT license.

Package Sidebar

Install

npm i knex-logger-koa

Weekly Downloads

22

Version

0.1.1

License

MIT

Last publish

Collaborators

  • npm-support