node-migration
JSON →A generic promise-based migration tool for Node.js. Version 1.0.1 is current but appears unmaintained since 2016. It tracks migration state in a JSON file and executes user-defined `up` and `down` functions in migration files. Unlike database-specific tools (e.g., sequelize, knex), node-migration is agnostic — you provide the logic. Supports synchronous and asynchronous (promise-returning) migrations. CLI: `migrate up` / `migrate down` / `migrate create`. Programmatic API via `require('node-migration').run()`. No built-in database integration; you manage connections via `setup.js`. Last release over 8 years ago; consider alternatives for production use.
Resources
packagenode-migration ↗