jsreport extension for persisting report templates and reports in MongoDB. Current version 1.3.3 (stable, maintenance mode). Provides seamless integration of MongoDB as the document store and optionally GridFS for binary blob storage. Supports both single-node and replica set connections via URI or host/database configuration. Differentiators include configurable collection prefix, connection options passthrough, and coexistence with other store providers like fs-store.
npm install jsreport-mongodb-storeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures jsreport to use MongoDB for template storage and GridFS for blob storage, then starts the server.
Remove 'connectOptions' and place connection settings directly under 'mongodb-store' config.
Use either URI or separate fields, but not both.
Install jsreport-mongodb-store and configure blobStorage.provider to 'gridFS'.
Start MongoDB with 'mongod' or provide a valid URI with running instance in config.
Run 'npm install mongodb' in your project.
Ensure jsreport.config exists, e.g., by using jsreport().then or by requiring jsreport core first.