node-mongodb-migrations
JSON →An abstract migration framework for Node.js that stores migration state either in a local file or in a MongoDB collection (useful for multi-instance environments). Version 0.8.2 is the latest stable release. The package is a fork of ikatun/node-migrate, which itself was forked from tj/node-migrate. It uses native MongoDB promises. Key differentiators include support for state persistence in MongoDB, seamless switching from file-based state (e.g., tj/node-migrate) to MongoDB, and CLI commands for up, down, rollback, and create migrations. Compared to alternatives like `migrate-mongo` or `db-migrate`, this package is lightweight and focused solely on MongoDB state storage.
Resources
packagenode-mongodb-migrations ↗
API endpoints
full doc /v1/registry/node-mongodb-migrations