{"library":"mongodb-runner","type":"library","category":null,"description":"MongoDB Runner is a utility for programmatically or via CLI spinning up and managing MongoDB server instances and clusters specifically for testing purposes. It simplifies the process of testing code against various MongoDB topologies like standalone, replica sets, or sharded clusters, without requiring manual MongoDB installation or management. The current stable version is 6.7.7, and based on its development activity, it appears to have a regular release cadence, often aligning with new MongoDB server releases or bug fixes. A key differentiator is its ability to download and manage multiple MongoDB server versions locally, including enterprise versions, and to integrate with Docker. It offers both a convenient command-line interface via `npx` and a robust programmatic API for integration into test suites, abstracting away the complexities of `mongod` and `mongos` commands.","language":"javascript","status":"active","version":"6.7.7","tags":["javascript","typescript"],"install":[{"cmd":"npm install mongodb-runner","imports":["import { MongoCluster } from 'mongodb-runner';","import { MongoCluster } from 'mongodb-runner';\nconst cluster = await MongoCluster.start(...);","import type { CliOptions } from 'mongodb-runner';"]},{"cmd":"yarn add mongodb-runner","imports":[]},{"cmd":"pnpm add mongodb-runner","imports":[]}],"homepage":"https://www.npmjs.com/package/mongodb-runner","github":"https://github.com/mongodb-js/devtools-shared","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/mongodb-runner","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/mongodb-runner/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}