mongodb/js-bson
BSON Parser for node and browser observed · 2026-09-03
Health v2 · maintenance only
99/100
- Activity 100
- Release rhythm 97
- Longevity 100
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: 15.5
- age_days: 5291
- days_rel: 22
- days_push: 0
- n_releases_24m: 19
Adoption not part of the score
1216 stars · 273 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official BSON (Binary JSON) parser library for Node.js and browsers, maintained by MongoDB. It serializes and deserializes JSON-like documents to and from the BSON binary format, including types like ObjectId, and supports EJSON stringification.
Use cases
- serialize documents to bson binary format
- deserialize bson bytes back into javascript objects
- work with mongodb objectid and extended
- parse bson data in the browser
- encode -like documents for storage or network transfer
When to choose
- you need to encode or decode BSON, e.g. when working with MongoDB data directly
- you need BSON support in both Node.js and browser environments
- you need EJSON (Extended JSON) serialization of MongoDB-specific types
When to avoid
- you just need plain JSON serialization with no binary format requirements
- you are using a MongoDB driver, which already bundles BSON internally
- you need a human-readable data interchange format rather than binary
Facets
library · maturity stable
serialization parser databases developer-tools browser cross-platform bson binary- mongodb e typescript nodejs
1 source
- readme: https://github.com/mongodb/js-bson · fetched 2026-09-03 · ae113d354290
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mongodb/js-bson | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem