{"library":"exframe-db","type":"library","category":null,"description":"A wrapper around Mongoose for MongoDB connection management within the Harmony Framework. Exframe-db provides Mongoose connection initialization and graceful shutdown integration with exframe-service. Version 4.0.6 requires Node >=18.0.0 and peer dependencies exframe-health 1.x, exframe-logger 3.x, and exframe-service 1.x. It ships TypeScript types. The package is tightly coupled to the Harmony Framework ecosystem and is not intended for standalone use. Compared to mongoose directly, it adds logging and lifecycle hooks.","language":"javascript","status":"active","version":"4.0.6","tags":["javascript","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install exframe-db","imports":["const db = require('exframe-db')","db.init({ logger, dbUrl })","import db from 'exframe-db'"]},{"cmd":"yarn add exframe-db","imports":[]},{"cmd":"pnpm add exframe-db","imports":[]}],"homepage":"https://bitbucket.org/exzeo-usa/exframe#readme","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/exframe-db","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}