Automattic/mongoose
MongoDB object modeling designed to work in an asynchronous environment. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- 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: 4
- age_days: 5993
- days_rel: 8
- days_push: 8
- n_releases_24m: 126
Adoption not part of the score
27474 stars · 4038 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Mongoose is a MongoDB object modeling (ODM) library for Node.js and Deno that provides schema-based data modeling with type casting, validation, query building, and middleware hooks. It compiles schemas into models used to construct and query documents in an asynchronous environment.
Use cases
- define schemas and validate data for a MongoDB collection
- model application data with types, defaults, and virtuals in Node.js
- build queries and add business logic hooks for MongoDB documents
- connect a Node.js or Deno backend to MongoDB
- manage relationships and subdocuments in MongoDB
- add indexes and query helpers to MongoDB models
When to choose
- you use MongoDB with Node.js and want schema validation and casting out of the box
- you want middleware hooks, virtuals, and query helpers for your data layer
- you prefer a structured, model-driven approach over raw MongoDB drivers
- you need a mature, widely supported ODM with a large plugin ecosystem
When to avoid
- you use a relational database like PostgreSQL or MySQL
- you want schemaless access and prefer the native MongoDB driver directly
- you need an ORM with joins and SQL-style relations
- your runtime does not support Node.js or Deno
Facets
library · maturity stable
orm database-driver database serialization middleware databases backend web-development developer-tools bun mongodb odm schema-validation data-modeling async nodejs deno javascript
4 sources
- readme: https://github.com/Automattic/mongoose · fetched 2026-08-28 · 8802b5fc06d7
- homepage: https://mongoosejs.com · fetched 2026-08-29 · b014319f1b8c
- site_page: https://mongoosejs.com/docs/guide.html · fetched 2026-08-29 · bd7a50226929
- site_page: https://mongoosejs.com/docs/index.html · fetched 2026-08-29 · 34f9139a8a20
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Automattic/mongoose | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="Automattic/mongoose")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem