objectid

JSON →
library 3.2.1 ·javascript
verified Jun 5, 2026

MongoDB ObjectID utilities library, version 3.2.1. Provides creation, validation, casting, and comparison of MongoDB ObjectIDs. Lightweight and focused on compatibility with the native MongoDB driver (npm `mongodb`). Supports both Node.js and browser environments with distinct major versions. Static methods like `isValid`, `tryParse`, and `equals` complement instance methods. Released under MIT license.