1.4.0 • Published 4 years ago

fastify-knexjs v1.4.0

Weekly downloads
239
License
MIT
Repository
github
Last release
4 years ago

Fastify KnexJS Plugin

Test Semantic Release JavaScript Style Guide semantic-release

NPM

Installation

npm install fastify-knexjs --save

Usage

fastify.register(require('fastify-knexjs'), options, (err) =>
  console.error(err)
);

fastify.get('/', (request, reply) => {
  console.log(fastify.knex); // Knex DB instance
});

Options

KnexJS client DB configuration JSON object.

http://knexjs.org/#Installation-client

Author

Nicolás Balduzzi

Contributors

Patrick Heneise

License

Licensed under MIT.

1.2.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago