migrate-mongodb

JSON →
library 4.0.0 ·javascript
verified Jun 7, 2026

Abstract migration framework for Node.js with optional MongoDB state storage. Version 4.0.0 provides a CLI and programmatic API for managing database migrations. The framework supports both file-based state storage and MongoDB-based state via the MONGO_CONNECTION_STRING environment variable, allowing seamless migration from the original tj/node-migrate package. It enables creating, up, and down migration commands with custom date formats and template files.