A promise-based MongoDB driver wrapper for Node.js, version 0.50.0. It simplifies MongoDB connections by returning a promise from setupConnection(). Designed as an internal microservice component for the otto-de/turing-microservice ecosystem, it relies on configuration via turing:mongo:host, turing:mongo:db, turing:mongo:user, and turing:mongo:password. No significant updates or release cadence visible; appears to be a stable but niche utility without broad community adoption or alternative differentiation.
npm install turing-mongoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to MongoDB using turing-mongo with environment-based configuration, handling success and error via promises.
Use turingMongo.db or similar property after connection; if not available, consider using the mongodb driver directly.
Pin to exact version and test upgrades carefully.
Use environment variables or a dedicated config module to set these properties before calling setupConnection.
Use require('turing-mongo') instead of import.Set process.env['turing:mongo:user'] and process.env['turing:mongo:password'] before calling setupConnection.
Ensure MongoDB is running and config turing:mongo:host points to the correct host.
No dependency data recorded yet.