{"library":"mongodb-memory-server-global-4.0","type":"library","category":null,"description":"mongodb-memory-server-global-4.0 is a sub-package of mongodb-memory-server that automatically downloads and manages a local MongoDB 4.0 binary for testing. Current stable version is 10.4.1, released monthly with updates aligned with the main package. It provides an in-memory MongoDB instance that downloads the binary on first run, caching it globally (~/.cache/mongodb-binaries). Key differentiators: no need for system MongoDB, supports multiple versions via sub-packages, and integrates seamlessly with Mongoose. The main package also offers alternative binaries (e.g., mongodb-memory-server-core) for custom downloads.","language":"javascript","status":"active","version":"10.4.1","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.0","imports":["import { MongoMemoryServer } from 'mongodb-memory-server-core'","import { createMongoInstance } from 'mongodb-memory-server-core'","const MongoMemoryServer = require('mongodb-memory-server-core').MongoMemoryServer;"]},{"cmd":"yarn add mongodb-memory-server-global-4.0","imports":[]},{"cmd":"pnpm add mongodb-memory-server-global-4.0","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.0","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}