megrim
JSON →Migration Tool for Postgres databases in node.js. Version 2.1.0 provides a simple migration framework using timestamped SQL files. It offers a CLI with add-migration and migrate commands, and a programmatic API via require('megrim'). Migrations are stored in schema/$timestamp-$name.sql and tracked in a schema_info table. Compared to more feature-rich tools like node-pg-migrate or Knex, megrim is minimal and does not support TypeScript, callbacks instead of Promises, and relies on the DATABASE_URL environment variable. It has been stable with minimal updates, suggesting maintenance mode.