#4848th of 204 in Backends, databases and hosting

node-mongodb-native

Official MongoDB driver for Node.js with TypeScript types

Stars
10.2k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 29 weeks+46
25 Apr 2026: 10,126 stars2 May 2026: 10,128 stars9 May 2026: 10,129 stars16 May 2026: 10,131 stars23 May 2026: 10,132 stars30 May 2026: 10,136 stars6 Jun 2026: 10,140 stars13 Jun 2026: 10,141 stars20 Jun 2026: 10,141 stars27 Jun 2026: 10,143 stars4 Jul 2026: 10,145 stars11 Jul 2026: 10,146 stars18 Jul 2026: 10,148 stars25 Jul 2026: 10,150 stars1 Aug 2026: 10,150 stars8 Aug 2026: 10,151 stars15 Aug 2026: 10,151 stars22 Aug 2026: 10,153 stars29 Aug 2026: 10,159 stars5 Sept 2026: 10,160 stars12 Sept 2026: 10,160 stars19 Sept 2026: 10,161 stars26 Sept 2026: 10,162 stars3 Oct 2026: 10,162 stars10 Oct 2026: 10,162 stars17 Oct 2026: 10,164 stars24 Oct 2026: 10,166 stars31 Oct 2026: 10,168 stars7 Nov 2026: 10,168 stars14 Nov 2026: 10,172 stars

10,126 on 25 Apr 202610,172 on 14 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

The official MongoDB client library for Node.js, installed with `npm install mongodb`. It provides MongoClient, CRUD operations, indexing and a typed error hierarchy, and supports MongoDB servers 4.4+. Optional add-on packages cover zstd and snappy compression, field-level and queryable encryption, and Kerberos and AWS authentication.

Who it is for: Node.js and TypeScript developers connecting apps to MongoDB

Strengths

  • Maintained by MongoDB; releases are GPG-signed and carry npm provenance attestations
  • Ships TypeScript types, checked against typescript 5.6.0 and later
  • Semantic versioning with a documented error class tree safe for instanceof checks
  • Optional packages for field-level encryption, Kerberos and zstd compression

Weaknesses

  • Works only with MongoDB; not a general database abstraction or ODM
  • Native add-ons (kerberos, encryption, zstd) can hit C++ compilation problems
  • Non-Node runtimes are still in progress; SCRAM-SHA-1 needs Node.js
  • Experimental features are excluded from semver and may break in any release

What it needs

  • no GPU
  • Needs MongoDB server 4.4+, Node.js

What changed

  1. v7.9.0 ↗ (opens in a new tab)Security fix

    CVE-2026-126835. “Node Driver versions from 6.7.0 before 7.9.0 (this release) are affected by a security issue related to OIDC bearer tokens being inappropriately shared to domains outside those allowlisted by the app…”

  2. v6.22.0 ↗ (opens in a new tab)Security fix

    CVE-2026-119179. “Node Driver versions from v6.11.0 before v6.22.0 (this release) and from v7.0.0 before v7.8.0 are affected by a security issue related to the use of the experimental timeoutMS feature where connectio…”

  3. v7.8.0 ↗ (opens in a new tab)Security fix

    CVE-2026-119179, CVE-2026-126837. “Node Driver versions from v6.11.0 and from v7.0.0 before v7.8.0 (this release) are affected by a security issue related to the use of the experimental timeoutMS feature where connection pool desynchr…”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backends, databases and hosting

See all 204
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license94 out of 100
2coolifySelf-hosted Heroku and Vercel alternative that deploys apps and databases over SSH66.2k starsApache-2.093 out of 100
3strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100
#4traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.6k starsMIT92 out of 100
#5appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.2k stars+653 (+1.1%) in 30 daysBSD-3-Clause92 out of 100