bson 4.6.0
A bson parser for node.js and the browser
bson@4.6.0 was published on 2021-11-23. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=6.9.0.
All bson versions · Permanent reference to 4.6.0 · Latest release
Package specifications
| Version | 4.6.0 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2021-11-23T16:18:30.243Z |
| Node.js requirement | >=6.9.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2851.12 KiB |
| Published file count | 99 |
| Package type | Not declared |
| ES module entry | dist/bson.esm.js |
| Default entry | lib/bson.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 1216 |
| Repository forks | 274 |
Install bson 4.6.0
npm install bson@4.6.0 pnpm add bson@4.6.0 yarn add bson@4.6.0
Runtime dependencies
- buffer ^5.6.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- base64-js@1.5.1 — indirect
- buffer@5.7.1 — direct
- ieee754@1.2.1 — indirect
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.
| Maintained | 10/10 — 19 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 10/10 — all changesets reviewed |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Signed-Releases | 8/10 — 5 out of the last 5 releases have a total of 5 signed artifacts. |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Branch-Protection | 5/10 — branch protection is not maximal on development and all release branches |
| SAST | 9/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/bson/4.6.0 — retrieved 2026-10-29T10:09:29.682Z
- https://api.deps.dev/v3/projects/github.com%2Fmongodb%2Fjs-bson — retrieved 2026-10-29T08:23:31.368Z
- https://api.deps.dev/v3/systems/npm/packages/bson/versions/4.6.0 — retrieved 2026-10-29T10:09:30.211Z
- https://api.deps.dev/v3/systems/npm/packages/bson/versions/4.6.0:dependencies — retrieved 2026-10-29T10:09:30.231Z