{"library":"hapi-multi-mongo","type":"library","category":null,"description":"A Hapi.js plugin for managing multiple MongoDB connections, designed for Hapi >= 17. Current version 5.1.1. It decorates the server or request object with MongoDB client instances, supporting complex configurations with multiple servers, custom names, and connection options. Differs from hapi-mongodb by focusing on multiple connections and offering flexible configuration via strings, objects, or arrays.","language":"javascript","status":"active","version":"5.1.1","tags":["javascript","hapi","mongodb"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install hapi-multi-mongo","imports":["await server.register({ plugin: require('hapi-multi-mongo'), options })","server.mongo.db_name.collection('test')","request.mongo.db_name.collection('test')"]},{"cmd":"yarn add hapi-multi-mongo","imports":[]},{"cmd":"pnpm add hapi-multi-mongo","imports":[]}],"homepage":"https://github.com/metoikos/hapi-multi-mongo#readme","github":"ssh://git@github.com/metoikos/hapi-multi-mongo","docs":null,"changelog":null,"pypi":null,"npm":"hapi-multi-mongo","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}