MongoDB Build Info

JSON →
library 1.9.11 ·javascript
verified Jun 5, 2026

Extracts metadata from MongoDB's buildInfo command to determine deployment type: Atlas, Atlas Data Lake, Enterprise, DocumentDB, or CosmosDB. Also identifies localhost, DigitalOcean, and parse command-line options. Version 1.9.11 is stable and ships TypeScript definitions. Key differentiator: utility library for compass-tools, focused on genuine MongoDB detection and environment identification. Released under Apache-2.0 license. Maintained as part of the mongodb-js/devtools-shared monorepo.