# mongodb-memory-server-global

> MongoDB Server for testing (auto-download latest version to ~/.cache/mongodb-binaries).

Latest version **11.3.0** (published 2026-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install mongodb-memory-server-global
pnpm add mongodb-memory-server-global
yarn add mongodb-memory-server-global
bun add mongodb-memory-server-global
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 11.3.0 |
| Published | 2026-09-21 |
| First published | 2019-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20.19.0 |
| Dependencies | 2 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2852 |
| Maintainers | nodkz, hasezoey |
| Keywords | mongodb, mongoose, mock, stub, mockgoose, mongodb-prebuilt, mongomem |

## Links

- npm: https://www.npmjs.com/package/mongodb-memory-server-global
- Repository: https://github.com/typegoose/mongodb-memory-server
- Issues: https://github.com/typegoose/mongodb-memory-server/issues
- npm.io page: https://npm.io/package/mongodb-memory-server-global

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [mongodb-memory-server-core](https://npm.io/package/mongodb-memory-server-core.md) 11.3.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 11.3.0 (latest) — 2026-09-21
- 11.3.0-beta.6 (beta) — 2026-09-21
- 10.4.3 (old/10.x) — 2025-12-23
- 9.5.0 (old/9.x) — 2024-11-01
- 8.16.1 (old/8.x) — 2024-07-13
- 7.6.3 (old/7.x) — 2021-11-07
- 11.3.0-beta.5 — 2026-09-21
- 11.3.0-beta.4 — 2026-09-21
- 11.3.0-beta.3 — 2026-09-09
- 11.3.0-beta.2 — 2026-09-03
- 11.3.0-beta.1 — 2026-07-20
- 11.2.0 — 2026-05-28
- 11.1.0 — 2026-04-29
- 11.0.1 — 2025-12-23
- 10.4.2 — 2025-12-15
- … 296 more at https://npm.io/package/mongodb-memory-server-global/versions

## README

# mongodb-memory-server-global

[![Node.js CI](https://github.com/typegoose/mongodb-memory-server/workflows/Node.js%20CI/badge.svg)](https://github.com/typegoose/mongodb-memory-server/actions/workflows/tests.yml?query=workflow%3A%22Node.js+CI%22)
[![NPM version](https://img.shields.io/npm/v/mongodb-memory-server-global.svg)](https://www.npmjs.com/package/mongodb-memory-server-global)
[![Downloads stat](https://img.shields.io/npm/dt/mongodb-memory-server-global.svg)](http://www.npmtrends.com/mongodb-memory-server-global)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![TypeScript compatible](https://img.shields.io/badge/typescript-compatible-brightgreen.svg)](https://www.typescriptlang.org)
[![codecov.io](https://codecov.io/github/typegoose/mongodb-memory-server/coverage.svg?branch=master)](https://codecov.io/github/typegoose/mongodb-memory-server?branch=master)
[![Backers on Open Collective](https://opencollective.com/mongodb-memory-server/backers/badge.svg)](#backers)
[![Sponsors on Open Collective](https://opencollective.com/mongodb-memory-server/sponsors/badge.svg)](#sponsors)
[![mongodb-memory-server-global](https://snyk.io/advisor/npm-package/mongodb-memory-server-global/badge.svg)](https://snyk.io/advisor/npm-package/mongodb-memory-server-global)

Main default package which downloads latest mongod binary to `%HOME%/.cache/mongodb-binaries` / `~/.cache/mongodb-binaries` directory on package install.

[Full README with avaliable options and examples](https://github.com/typegoose/mongodb-memory-server)

---
_Source: https://npm.io/package/mongodb-memory-server-global · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
