A database aggregator that collects data from various sources and stores them in a MongoDB database. It provides a built-in scheduler to launch synchronization and aggregation scripts as child processes, plus an HTTP API for read-only queries and process management. Current stable version is 3.1.4. The package requires manual configuration of scripts and environment variables. It ships TypeScript types and uses debug logging. Differentiators include its script-based extensibility and scheduler status tracking.
npm install database-aggregatorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Starts the database aggregator scheduler and HTTP API with configurable MongoDB URL and home directory.
Set DATABASE_AGGREGATOR_HOME_DIR to the directory containing configuration files.
Ensure MongoDB is running and the connection string is correct.
Use import syntax or set type: 'module' in package.json.
Update DEBUG environment variable to use 'debug', 'warn', or 'error' as documented.
Run 'npm install -g database-aggregator' or add it to your project's dependencies.
Add 'type': 'module' to package.json or rename file to .mjs
Use named import: import { Scheduler } from 'database-aggregator'Start MongoDB with 'docker start mongo' or update MONGO_URL environment variable.
No dependency data recorded yet.