mongo-js/mongojs
Node.js module that implements the offical mongo api observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5551
- days_rel: n/a
- days_push: 2461
- n_releases_24m: 0
Adoption not part of the score
1773 stars · 252 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mongojs is a Node.js module that wraps the official MongoDB native driver and emulates the official MongoDB shell API with callback-style methods. It lets developers query and update MongoDB collections using familiar mongo shell syntax directly from JavaScript code.
Use cases
- connect to mongodb from node.js
- query mongodb collections with mongo shell syntax
- find and update documents in mongodb
- connect to mongodb with a connection string and credentials
- iterate over mongodb query results with forEach
- use ObjectId to look up documents by id
When to choose
- you want a thin, easy-to-use MongoDB API in Node.js that mirrors the mongo shell
- you prefer callback-style database access over promise-based drivers
- you are maintaining an existing codebase already built on mongojs
When to avoid
- you need a modern promise/async-await MongoDB driver with active development
- you need support for the latest MongoDB server features and driver versions
- you are starting a new project where the official mongodb driver or an ODM like mongoose would be a better fit
Facets
library · maturity maintenance
database-driver database databases backend developer-tools mongodb mongodb-driver callback-based wrapper nodejs javascript
3 sources
- readme: https://github.com/mongo-js/mongojs · fetched 2026-08-28 · 24957f3d7837
- homepage: https://mongo-js.github.io/mongojs/ · fetched 2026-08-29 · 985006817bf1
- registry_npm: https://registry.npmjs.org/mongojs · fetched 2026-08-29 · 434dc3062098
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mongo-js/mongojs | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="mongo-js/mongojs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem