{"library":"mongodb-memory-server-global-4.2","type":"library","category":null,"description":"A sub-package of mongodb-memory-server that automatically downloads a MongoDB 4.2 binary for testing purposes. Version 11.2.0 is current; releases follow mongodb-memory-server core with weekly or monthly cadence. It eliminates the need to manually manage mongod binaries for CI/CD and local test environments. Unlike mongodb-memory-server-core, this package includes the binary download as a postinstall step, making setup effortless. Supports TypeScript with bundled type declarations. Requires Node >=20.19.0 and is ESM-only since v9+. Key differentiator: pre-pinned version (4.2) avoiding version drift in tests.","language":"javascript","status":"active","version":"11.2.0","tags":["javascript","mongodb","mongoose","mock","stub","mockgoose","mongodb-prebuilt","mongomem","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-memory-server-global-4.2","imports":["import { MongoMemoryServer } from 'mongodb-memory-server-core'","import MongoMemoryServer from 'mongodb-memory-server-core'","import { MongoMemoryReplSet } from 'mongodb-memory-server-core'"]},{"cmd":"yarn add mongodb-memory-server-global-4.2","imports":[]},{"cmd":"pnpm add mongodb-memory-server-global-4.2","imports":[]}],"homepage":"https://github.com/typegoose/mongodb-memory-server","github":"https://github.com/typegoose/mongodb-memory-server","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-memory-server-global-4.2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}