Calustra is a Node.js library (v0.15.3) that synchronizes database schemas and data to web-based formats, such as JSON and Markdown. It supports multiple databases including PostgreSQL, MySQL, SQLite, and MariaDB. Key differentiators include its focus on bidirectional syncing and real-time updates via change tracking. The library is under active development with weekly releases, emphasizing simplicity and extensibility through a plugin system. It is ESM-only and requires Node.js 18+.
npm install calustraNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes Calustra with SQLite database, syncs to JSON output, and logs sync events.
Use async/await or .then() for sync calls.
Use import syntax and ensure Node 18+ and "type": "module" in package.json.
Use `calustra.on('sync', callback)` instead.Install the appropriate driver package (e.g., `npm install pg` for PostgreSQL).
Run `npm install calustra` and verify import as `import { Calustra } from 'calustra'`.Upgrade to >=0.15 and use `await calustra.sync()`.
Run `npm install mysql2`.