{"library":"hapi-sequelizejs","type":"library","category":null,"description":"hapi-sequelizejs is a hapi.js plugin (v4.6.1) that integrates the Sequelize ORM (versions 5.x or 6.x) as a server plugin, supporting multiple database connections. It decorates the request object with a getDb method and automatically loads model associations. Compatible with hapi.js 19.x, 20.x, and @hapi/hapi 21.x. Development appears to be in maintenance mode with infrequent updates; no known active development since 2021. Key differentiator is its tight integration with hapi's plugin system, allowing multiple database instances and automatic model syncing.","language":"javascript","status":"maintenance","version":"4.6.1","tags":["javascript","sequelize","hapi","hapi-plugin","mysql","sqlite","postgresql","postgres","orm"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install hapi-sequelizejs","imports":["await server.register({ plugin: require('hapi-sequelizejs'), options: [...] })","request.getDb('dbname')","const model = request.getDb('dbname').getModel('User')"]},{"cmd":"yarn add hapi-sequelizejs","imports":[]},{"cmd":"pnpm add hapi-sequelizejs","imports":[]}],"homepage":"https://github.com/valtlfelipe/hapi-sequelizejs#readme","github":"https://github.com/valtlfelipe/hapi-sequelizejs","docs":null,"changelog":null,"pypi":null,"npm":"hapi-sequelizejs","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}