Bidirectional SQLite to Markdown sync CLI for git-diffable database history. Current stable version is 0.1.2, released on npm with a MIT license and Node >=20 requirement. It projects each SQLite row as a Markdown file with YAML frontmatter, enabling row-level diffs, PR reviews, and merge workflows on database content without sacrificing the ability to run real SQL queries after materializing back to SQLite. Differentiates from alternatives like Dolt (proprietary format) and sqlite3 .dump (textual but not per-row granular) by providing a human-editable, diff-friendly Markdown tree that fully round-trips to SQLite, with schema stored as SQL files and BLOBs handled via sidecar files.
npm install sql-md-syncNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows programmatic usage of sql-md-sync: init, export, import, and validate with round-trip check.
Upgrade Node.js to v20 or later.
Use import syntax or dynamic import.
Ensure frontmatter is valid YAML without extra spaces.
Use `sql-md-sync commit --print` instead of `--stage`.
Update import paths: import { exportSync } from 'sql-md-sync/export'.Change import to: import { exportSync } from 'sql-md-sync/export';Use: import { importSync } from 'sql-md-sync/import';Check frontmatter indentation; ensure keys and values are properly aligned.