mongodb
npmv7.5.0TypeScriptThe official MongoDB driver for Node.js
Overview
mongodb is an npm package that the official MongoDB driver for Node.js. The latest version is 7.5.0, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need the official MongoDB driver for Node.js and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (Apache-2.0).
Cons
- Large dependency tree (59 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of mongodb.
Dependencies
Peer (7)
Dev (49)
Used by
Popular packages that depend on mongodb.
Alternatives to mongodb
Fastest full featured PostgreSQL client for Node.js
Mongoose MongoDB ODM
{G,S}et object values using MongoDB-like path notation
Expressive query building for MongoDB
A bson parser for node.js and the browser
Frequently installed together
An AST-based pattern checker for JavaScript.
TypeScript definitions for node
Tiny millisecond conversion utility
RFC9562 UUIDs
Prettier is an opinionated code formatter
Fast, unopinionated, minimalist web framework
Parse, validate, manipulate, and display dates
A bson parser for node.js and the browser
Official client encryption module for the MongoDB Node.js driver
A family of specs for interoperable TypeScript
MongoDB query filtering in JavaScript
{G,S}et object values using MongoDB-like path notation
Version history
| Version | Published | License |
|---|---|---|
| 7.5.0-dev.20260718.sha.2d5d237e | 1 day ago | Apache-2.0 |
| 7.5.0-dev.20260717.sha.2d5d237e | 2 days ago | Apache-2.0 |
| 7.5.0-dev.20260716.sha.2d5d237e | 3 days ago | Apache-2.0 |
| 7.5.0-dev.20260715.sha.dfb6b19b | 4 days ago | Apache-2.0 |
| 7.5.0-dev.20260714.sha.52f5e61c | 5 days ago | Apache-2.0 |
| 7.5.0-dev.20260713.sha.52f5e61c | 6 days ago | Apache-2.0 |
| 7.5.0-dev.20260712.sha.52f5e61c | 7 days ago | Apache-2.0 |
| 7.5.0-dev.20260711.sha.52f5e61c | 8 days ago | Apache-2.0 |
| 7.5.0-dev.20260708.sha.cda37486 | 11 days ago | Apache-2.0 |
| 7.5.0latest | 11 days ago | Apache-2.0 |
| 7.4.0-dev.20260707.sha.72c02969 | 12 days ago | Apache-2.0 |
| 7.4.0-dev.20260703.sha.b6c60daa | 16 days ago | Apache-2.0 |
| 7.4.0-dev.20260627.sha.371579d4 | 22 days ago | Apache-2.0 |
| 7.4.0-dev.20260626.sha.53e73a90 | 23 days ago | Apache-2.0 |
| 7.4.0 | 23 days ago | Apache-2.0 |
| 7.3.0-dev.20260625.sha.88ec1595 | 24 days ago | Apache-2.0 |
| 7.3.0-dev.20260624.sha.1f5ac375 | 25 days ago | Apache-2.0 |
| 7.3.0-dev.20260623.sha.b17288ce | 26 days ago | Apache-2.0 |
| 7.3.0-dev.20260616.sha.5b401aaf | 1 month ago | Apache-2.0 |
| 7.3.0-dev.20260613.sha.3ba2dd2f | 1 month ago | Apache-2.0 |
Frequently asked questions
How do I install mongodb?
Run `npm install mongodb` to add mongodb to your npm project.
What license is mongodb released under?
mongodb is distributed under the Apache-2.0 license.
How popular is mongodb?
mongodb has approximately 0 downloads per week and 3 known dependent packages.