A MongoDB transporter for the Integreat data integration hub, enabling reading from and writing to MongoDB collections. Current stable version is 1.3.0, released with no active release cadence indicated. It acts as a bridge between Integreat pipelines and MongoDB, supporting operations like get, set, delete, and streaming via change streams. Key differentiators: tightly coupled with Integreat's JSON-based action format, supports MongoDB aggregation pipelines for data transformation, and uses a single collection per transporter instance. Designed for Node.js 18.18+ with ESM support.
npm install integreat-transporter-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up Integreat with MongoDB transporter, inserts a document, and retrieves it.
Instantiate multiple transporters with different collection names.
Upgrade Node.js to >=18.18 and use ESM imports (import/export).
Always wrap MongoDB operations in Integreat action objects with type (get, set, delete).
Use 'uri' instead of 'connString' in transporter options.
Switch to ESM imports or use dynamic import().
Use `import transporter from 'integreat-transporter-mongodb'` (no braces).
Ensure the Integreat instance is started by calling `await great.start()` after setup.
Include `collection: 'yourCollectionName'` in transporter options.