hapi-bookshelf-ext

0.0.1 • Public • Published

hapi-bookshelf-ext

Bookshelf plugin for hapi.

Install

$ npm install knex bookshelf hapi-bookshelf-ext

Usage

This plugin requires an instance of knew to be passes to options.instance, or knex configuration to options.knex. If none are provided this plugin will assume hapi-knex2 is registered somewhere else and wait for it to load.

It decorates the server and request object with the bookshelf instance, along with exposing it in the plugin.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i hapi-bookshelf-ext

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • sebasgarcep