Skip to content
JS
Package

mongodb

The official MongoDB driver for Node.js

v7.6.0, 24 Aug 2026Apache-2.0CommonJSTypes: BundledDatabase clients and drivers
$ npm install mongodb

Key numbers

As of 25 Sept 2026
Weekly downloads
10.6m
+50% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 month ago
v7.6.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 15.4m (18 Aug 2026)Low 4.8m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

10,586,581 downloads last week, 50,765,469 in the last month. The 12-month change of +50% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
9367 in total
Latest version
7.6.0, 24 Aug 20261 month ago
First published
21 Jun 2011
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
14,833

Major versions

  1. v7 first release 7.0.0, 6 Nov 2025
  2. v6 first release 6.0.0, 28 Aug 2023
  3. v5 first release 5.0.0, 31 Jan 2023
  4. v4 first release 4.0.0, 13 Jul 2021
  5. v3 first release 3.0.0, 24 Dec 2017
  6. v2 first release 2.0.0, 7 Oct 2014
  7. v1 first release 1.0.0, 26 Apr 2012
  8. v0 first release 0.9.4, 21 Jun 2011

Recent releases

VersionPublished
7.6.024 Aug 2026
7.5.07 Jul 2026
7.4.025 Jun 2026
7.3.09 Jun 2026
7.2.020 Apr 2026
7.1.124 Mar 2026
7.1.04 Feb 2026
6.21.012 Nov 2025
7.0.06 Nov 2025
6.20.018 Sept 2025
6.19.026 Aug 2025
6.18.022 Jul 2025
6.17.03 Jun 2025
6.16.021 Apr 2025
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20.19.0
Runtimes
-
Unpacked size (npm)
3.4 MB
Dependencies (3)
bson@mongodb-js/saslprepmongodb-connection-string-url
Peer dependencies (7)
sockssnappykerberosgcp-metadata@mongodb-js/zstdmongodb-client-encryption@aws-sdk/credential-providers
npm install mongodb
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mongodb@7.6.0/
  • unpkghttps://unpkg.com/mongodb@7.6.0/
  • esm.shhttps://esm.sh/mongodb@7.6.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.