Migratable.js

JSON →
library 0.4.0 ·javascript
verified Jun 7, 2026

General-purpose migration and seeding framework for Node.js, built with TypeScript. v0.4.0 provides Migrator and Seeder classes to run upgrade/downgrade migrations and repeatable seed operations with a simple index-based sequence. Lightweight, actively maintained, and production-tested. Unlike database-specific tools, it keeps the context generic via a user-supplied ctx object, making it suitable for any data or configuration migration need. Migrations track state via a local cache file, while seeds run without persistence. Supports loading migrations from directories. Requires a Promise polyfill in older environments.