@boundstate/hapi-typeorm
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

hapi-typeorm

Typeorm for Hapi.

Usage

npm install @boundstate/hapi-typeorm
import * as Hapi from 'hapi';
import {hapiTypeorm} from '@boundstate/hapi-typeorm';

const server = new Hapi.Server();

server.register({
  register: hapiTypeorm,
  options: {
    connectionOptions: {
      // Options passed to typeorm
      // see https://github.com/typeorm/typeorm#creating-a-connection-to-the-database
    },
  },
}).then((err) => {

});

Readme

Keywords

none

Package Sidebar

Install

npm i @boundstate/hapi-typeorm

Weekly Downloads

2

Version

0.0.3

License

none

Last publish

Collaborators

  • mikejpeters
  • guiltyspark