Skip to content
JS
Package

bson-objectid

Construct ObjectIDs without the mongodb driver or bson module

v2.0.4, 21 Nov 2022Apache-2.0CommonJSTypes: BundledDatabase clients and drivers
$ npm install bson-objectid

Key numbers

As of 25 Sept 2026
Weekly downloads
739.2k
+154% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v2.0.4
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 983k (25 Aug 2026)Low 157.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

739,213 downloads last week, 3,381,401 in the last month. The 12-month change of +154% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
023 in total
Latest version
2.0.4, 21 Nov 20223 years ago
First published
23 Oct 2014
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 1 Mar 2021
  2. v1 first release 1.0.0, 23 Oct 2014
  3. v0 first release 0.1.1, 23 Oct 2014

Recent releases

VersionPublished
2.0.421 Nov 2022
2.0.312 Mar 2022
2.0.217 Jan 2022
2.0.11 Mar 2021
2.0.01 Mar 2021
1.3.111 Jun 2020
1.3.018 Jun 2019
1.2.514 May 2019
1.2.428 Sept 2018
1.2.32 Apr 2018
1.2.211 Dec 2017
1.2.117 Oct 2017
1.2.028 Sept 2017
1.1.518 Jan 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
34 kB
Dependencies (0)
None
npm install bson-objectid

CDN

jsDelivr: 98.8k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/bson-objectid@2.0.4/
  • unpkghttps://unpkg.com/bson-objectid@2.0.4/
  • esm.shhttps://esm.sh/bson-objectid@2.0.4
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.