{"library":"moleculer-db","type":"library","category":null,"description":"moleculer-db is an official service mixin for the Moleculer microservices framework, providing a standardized way to interact with various databases. Its current stable version is 0.9.0, released in March 2026, which is compatible with Moleculer v0.15 and requires Node.js 22.x.x. The library offers common CRUD actions, robust caching, pagination, field filtering, and entity lifecycle events. It is designed with a pluggable adapter architecture, supporting popular databases like MongoDB, PostgreSQL, SQLite, MySQL, MSSQL, and NeDB (for prototyping). A key differentiator is its seamless integration into the Moleculer ecosystem, adhering to the 'database per service' pattern, and simplifying data persistence within a microservice architecture while maintaining active development and regular updates to align with the core framework.","language":"javascript","status":"active","version":"0.9.0","tags":["javascript","microservice","moleculer","typescript"],"install":[{"cmd":"npm install moleculer-db","imports":["import { ServiceBroker } from 'moleculer';","import DbService from 'moleculer-db';","import MongooseAdapter from 'moleculer-db-adapter-mongoose';"]},{"cmd":"yarn add moleculer-db","imports":[]},{"cmd":"pnpm add moleculer-db","imports":[]}],"homepage":"https://moleculer.services","github":"https://github.com/moleculerjs/moleculer-db","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/moleculer-db","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/moleculer-db/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}