A MongoDB connection wrapper for DemocracyOS. Version 1.0.0 is the initial release. Provides a simple API to connect to MongoDB using a URI string. Designed specifically for the DemocracyOS project, not intended for general use. Offers minimal abstraction over the native MongoDB driver. No longer actively maintained; the last release was in 2015.
npm install democracyos-dbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to MongoDB using a URI string with callback-based API.
Consider using the official mongodb driver directly.
Use mongodb driver natively or wrap with promisify.
Run 'npm install mongodb' in your project.
Use 'const db = require('democracyos-db')' or 'import db from 'democracyos-db''.