JSPM

@arnaudnyc/fastify-knexjs

1.0.14
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q32809F
  • License MIT

Fastify KnexJS Plugin

Package Exports

  • @arnaudnyc/fastify-knexjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@arnaudnyc/fastify-knexjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Fastify KnexJS Plugin

JavaScript Style Guide Build Status

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

License

Licensed under MIT.