mongodb 7.8.0

The official MongoDB driver for Node.js

mongodb@7.8.0 was published on 2026-10-30. Its manifest declares 3 runtime dependencies and 7 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.19.0.

All mongodb versions · Permanent reference to 7.8.0 · Latest release

Package specifications

Version7.8.0
License declarationApache-2.0
Published2026-10-30T16:29:52.371Z
Node.js requirement>=20.19.0
Type declarationsBundled declarations
Runtime dependency count3
Peer requirement count7
Optional dependency count0
Minified size1305.58 KiB
Minified + gzip202.93 KiB
Unpacked distribution size3459.43 KiB
Published file count402
Package typeNot declared
ES module entryNot declared
Default entrylib/index.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars10171
Repository forks1821

Install mongodb 7.8.0

npm install mongodb@7.8.0
pnpm add mongodb@7.8.0
yarn add mongodb@7.8.0

Runtime dependencies

Peer requirements

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review9/10 — Found 21/22 approved changesets -- score normalized to 9
Maintained10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Security-Policy0/10 — security policy file not detected
License10/10 — license file detected
Signed-Releases8/10 — 5 out of the last 5 releases have a total of 5 signed artifacts.
Branch-Protection5/10 — branch protection is not maximal on development and all release branches
SAST9/10 — SAST tool detected but not run on all commits
Fuzzing0/10 — project is not fuzzed
Binary-Artifacts10/10 — no binaries found in the repo
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0

Evidence and freshness