# mongodb-memory-server-core

> MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.

Latest version **11.2.0** (published 2026-05-28) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 11.2.0 |
| Published | 2026-05-28 |
| First published | 2019-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20.19.0 |
| Dependencies | 12 |
| Unpacked size | 407.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2844 |
| Maintainers | nodkz, hasezoey |
| Keywords | mongodb, mongoose, mock, stub, mockgoose, mongodb-prebuilt, mongomem |

## Links

- npm: https://www.npmjs.com/package/mongodb-memory-server-core
- 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-core

## Dependencies (12)

- [debug](https://npm.io/package/debug.md) ^4.4.3
- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [yauzl](https://npm.io/package/yauzl.md) ^3.3.1
- [semver](https://npm.io/package/semver.md) ^7.7.3
- [mongodb](https://npm.io/package/mongodb.md) ^7.2.0
- [camelcase](https://npm.io/package/camelcase.md) ^6.3.0
- [tar-stream](https://npm.io/package/tar-stream.md) ^3.1.8
- [async-mutex](https://npm.io/package/async-mutex.md) ^0.5.0
- [find-cache-dir](https://npm.io/package/find-cache-dir.md) ^3.3.2
- [follow-redirects](https://npm.io/package/follow-redirects.md) ^1.16.0
- [https-proxy-agent](https://npm.io/package/https-proxy-agent.md) ^7.0.6
- [new-find-package-json](https://npm.io/package/new-find-package-json.md) ^2.0.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.2.0 (latest) — 2026-05-28
- 11.3.0-beta.3 (beta) — 2026-09-09
- 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.2 — 2026-09-03
- 11.3.0-beta.1 — 2026-07-20
- 11.1.0 — 2026-04-29
- 11.0.1 — 2025-12-23
- 10.4.2 — 2025-12-15
- 11.0.0 — 2025-12-15
- 11.0.0-beta.4 — 2025-12-15
- 11.0.0-beta.3 — 2025-12-04
- 10.4.1 — 2025-12-04
- … 292 more at https://npm.io/package/mongodb-memory-server-core/versions

## README

# mongodb-memory-server-core

[![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-core.svg)](https://www.npmjs.com/package/mongodb-memory-server-core)
[![Downloads stat](https://img.shields.io/npm/dt/mongodb-memory-server-core.svg)](http://www.npmtrends.com/mongodb-memory-server-core)
[![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-core](https://snyk.io/advisor/npm-package/mongodb-memory-server-core/badge.svg)](https://snyk.io/advisor/npm-package/mongodb-memory-server-core)

Core package which contains main code. Used in all other packages.

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

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