bson-objectid
JSON →Lightweight standalone ObjectID constructor compatible with MongoDB BSON ObjectID API. v2.0.4 is stable; releases are infrequent. Features zero-dependency creation and parsing of ObjectIDs without mongodb/bson driver — ideal for browser or server-side apps that need ObjectID generation/comparison but not full MongoDB client. Provides full API parity with official BSON ObjectID including createFromTime, createFromHexString, isValid, getTimestamp, and immutable instances. Ships TypeScript types. Supports ESM and CJS.
Traffic · last 30 days stale · no recent hits
total hits 6
actors 1 distinct systems
last hit 21d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States
Resources
packagebson-objectid ↗