get-mongodb-version
JSON →CLI and API to retrieve the MongoDB version from a local mongod binary path, a running MongoDB URI, or a Db instance. v2.0.1 is stable but low activity; maintained as part of MongoDB-js ecosystem. Differentiates from manual parsing by abstracting `--version` execution and server connection/serverInfo queries into a single function call.
Resources
packageget-mongodb-version ↗
API endpoints
full doc /v1/registry/get-mongodb-version