Ross ROSS = Recommend OSS · open-source software intelligence for agents

typegoose/mongodb-memory-server

Manage & spin up mongodb server binaries with zero(or slight) configuration for tests. observed · 2026-08-28

github.com/typegoose/mongodb-memory-server · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

94/100

  • Activity 97
  • Release rhythm 86
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 18
  • age_days: 3401
  • days_rel: 97
  • days_push: 22
  • n_releases_24m: 20

Full methodology

Adoption not part of the score

2844 stars · 188 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Node.js library that programmatically downloads and spins up real MongoDB server binaries for testing, holding data in memory with zero or minimal configuration. It supports single instances and replica sets, automatically cleaning up servers when tests finish.

Use cases

  • spin up a real mongodb server for integration tests
  • run mongoose models against an in-memory mongodb in jest
  • create isolated per-test mongodb instances on free ports
  • mock mongodb during development without installing a local server
  • test against a mongodb replica set in CI
  • auto-download mongod binaries for the current OS

When to choose

  • you need real MongoDB behavior (queries, transactions, replica sets) in tests rather than a fake in-process mock
  • you want zero-configuration ephemeral databases for Node.js test suites
  • you use Mongoose or another ODM and need isolated integration tests
  • you run tests in CI and cannot provision a persistent MongoDB service

When to avoid

  • your stack is not Node.js/TypeScript
  • you only need a lightweight in-memory fake and cannot afford binary downloads or the first-run download time
  • you are behind a restrictive network without proxy support for binary downloads
  • you need a long-running shared MongoDB server rather than per-test instances

Facets

library · maturity active

testing mocking database database-driver testing databases developer-tools backend cross-platform cli mongodb in-memory-database integration-testing mongoose test-fixtures ephemeral-database typescript nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
typegoose/mongodb-memory-servermain94

For agents

markdown · JSON · MCP: product_card(name="typegoose/mongodb-memory-server")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem