# mongodb/node-mongodb-native

The official MongoDB Node.js driver

Repository: https://github.com/mongodb/node-mongodb-native
Canonical: https://ross.abutalabs.com/products/node-mongodb-native
Homepage: https://www.mongodb.com/docs/drivers/node/current/
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: database, mongodb, node-js, nodejs, nosql
Last push: 2026-08-26T18:55:42+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 6082, "days_push": 7, "days_rel": 9, "gap_med": 27, "n_releases_24m": 26}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10176, forks 1821 (observed 2026-08-28T04:10:39.759980+00:00)

## What it is
The official MongoDB driver for Node.js, maintained by MongoDB Inc. It provides a typed API for connecting to and operating on MongoDB databases from JavaScript and TypeScript applications.

## Use cases
- connect to mongodb from node.js
- query a mongodb database in typescript
- crud operations on mongodb collections
- use mongodb with express backend
- stream documents from a mongodb cursor
- manage mongodb transactions in node

## When to choose
- you need the officially supported MongoDB client for Node.js or TypeScript
- you want up-to-date features, security patches, and MongoDB support
- you need full MongoDB API coverage including transactions, change streams, and gridfs

## When to avoid
- you use an ODM like Mongoose or Prisma and prefer schema-based models over the raw driver
- your project is not on a JavaScript runtime
- you need a community-supported driver for an unsupported language

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, database
- domain: databases, backend, web-development, developer-tools
- platform: cross-platform
- tags: mongodb, nosql, official-driver, document-database, npm, nodejs, typescript

## Member repositories
- mongodb/node-mongodb-native (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:39.759980+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:19:39.223965+00:00, confidence not recorded.
  - readme: https://github.com/mongodb/node-mongodb-native (fetched 2026-08-28T04:10:39.759980+00:00, sha f4d4c6513b39)
  - homepage: https://www.mongodb.com/docs/drivers/node/current/ (fetched 2026-08-29T08:19:48.483980+00:00, sha dfe7cd4bb7bd)
  - site_page: https://www.mongodb.com/docs/atlas (fetched 2026-08-29T08:19:48.494902+00:00, sha f312e042649e)
  - site_page: https://www.mongodb.com/docs/manual (fetched 2026-08-29T08:19:48.496551+00:00, sha 6a4548d2a71b)
  - site_page: https://www.mongodb.com/docs/tools-and-connectors (fetched 2026-08-29T08:19:48.498289+00:00, sha 7c907d21d3d3)
  - site_page: https://www.mongodb.com/docs/drivers (fetched 2026-08-29T08:19:48.499927+00:00, sha 194534c44bc5)
  - site_page: https://www.mongodb.com/docs/atlas/architecture/current/solutions-library (fetched 2026-08-29T08:19:48.501449+00:00, sha 0dfd723aadd5)
  - site_page: https://www.mongodb.com/company/newsroom (fetched 2026-08-29T08:19:48.502935+00:00, sha e3f69e7b7c0c)
  - site_page: https://www.mongodb.com/company/partners (fetched 2026-08-29T08:19:48.504537+00:00, sha 342527daf5e8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
