Skip to content

jeromemacias/fastify-knexjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastify KnexJS Plugin

JavaScript Style Guide Build Status

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

License

Licensed under MIT.

About

Fastify KnexJS Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%