{"library":"mongodb-memory-server-global","type":"library","category":null,"description":"MongoDB Memory Server Global (mongodb-memory-server-global) provides a convenient, pre-configured way to set up and manage an in-memory MongoDB instance for testing and development. As of version 11.0.1, it automates the download and caching of the latest MongoDB server binaries (defaulting to 8.2.x since v11) to a user's local cache directory (`~/.cache/mongodb-binaries`) upon installation. This package acts primarily as an installation wrapper, simplifying the environment setup for its counterpart, `mongodb-memory-server`, which offers the actual programmatic API to start, stop, and manage the in-memory database instances. It aims for a stable release cadence, with patch and minor updates released frequently, and major versions introducing significant breaking changes and updated MongoDB defaults. Key differentiators include its ease of setup for CI/CD environments and its ability to quickly spin up isolated database instances without requiring a pre-installed MongoDB server.","language":"javascript","status":"active","version":"11.0.1","tags":["javascript","mongodb","mongoose","mock","stub","mockgoose","mongodb-prebuilt","mongomem","typescript"],"install":[{"cmd":"npm install mongodb-memory-server-global","imports":["import { MongoMemoryServer } from 'mongodb-memory-server'","import { MongoMemoryReplSet } from 'mongodb-memory-server'","import { start } from 'mongodb-memory-server'"]},{"cmd":"yarn add mongodb-memory-server-global","imports":[]},{"cmd":"pnpm add mongodb-memory-server-global","imports":[]}],"homepage":null,"github":"https://github.com/typegoose/mongodb-memory-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/mongodb-memory-server-global","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-memory-server-global/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}