{"adoption": {"forks": 4038, "observed_at": "2026-08-28T04:11:47.736155+00:00", "stars": 27474}, "canonical_url": "https://ross.abutalabs.com/products/mongoose", "card": {"archived": false, "artifact_type": "library", "description": "MongoDB object modeling designed to work in an asynchronous environment.", "domain": ["databases", "backend", "web-development", "developer-tools"], "enriched": true, "function": ["orm", "database-driver", "database", "serialization", "middleware"], "health_score": 100, "homepage": "https://mongoosejs.com", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["Automattic/mongoose"], "name": "Automattic/mongoose", "platform": ["bun"], "pushed_at": "2026-08-25T16:58:13+00:00", "repo": "Automattic/mongoose", "stars": 27474, "tags": ["mongodb", "odm", "schema-validation", "data-modeling", "async", "nodejs", "deno", "javascript"], "topics": ["mongo", "mongodb", "nodejs", "odm", "orm"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mongoose", "repo": "Automattic/mongoose", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:47.736155+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T16:54:32.184571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8802b5fc06d7024972d3ec1a118943c984da4d6c7fc834bbcb7918390ceeae24", "fetched_at": "2026-08-28T04:11:47.736155+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Automattic/mongoose"}, {"content_hash": "b014319f1b8ca875a98f1e67b43a3024af8ba00e922bffa312054d4d5e052e5e", "fetched_at": "2026-08-29T07:51:56.441236+00:00", "kind": "homepage", "missing": false, "url": "https://mongoosejs.com"}, {"content_hash": "bd7a50226929164069bc666b971823c9085e20215805aca09a20d6d2042c13bb", "fetched_at": "2026-08-29T07:51:56.450570+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/guide.html"}, {"content_hash": "34f9139a8a20c118bb8a4c0e2b362ca55803945b22bf9b5def68ffbc0598bafc", "fetched_at": "2026-08-29T07:51:56.454057+00:00", "kind": "site_page", "missing": false, "url": "https://mongoosejs.com/docs/index.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 87}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5993, "days_push": 8, "days_rel": 8, "gap_med": 4, "n_releases_24m": 126}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}