{"repo":"guptasantosh327/mongo-migrate-kit","free":true,"listed":false,"github":"https://github.com/guptasantosh327/mongo-migrate-kit","clone":"git clone https://github.com/guptasantosh327/mongo-migrate-kit.git","description":"Production-grade MongoDB migration toolkit for Node.js — single-file runs, real rollbacks, dry-run, checksums, hooks, transactions & locking. A modern migrate-mongo alternative.","language":"TypeScript","stars":17,"topics":["changelog","cli","database-migration","migrate-mongo","migrations","mongo-migrate","mongodb-migration","nodejs","nosql","rollback"],"license":"MIT","category":"databases-storage","readme_excerpt":"mongo-migrate-kit Elegant, fast, TypeScript-first MongoDB migrations for Node.js. A modern, drop-in replacement for migrate-mongo etc. Precise, safe migrations for MongoDB. Run a single file, roll back anything, and preview every change before it touches your database. 📖 Read the documentation → --- Reasons to choose it - Run a single migration — mmk up , not just \"all pending\". - Roll back anything — a batch ( --batch 3 ), the last N ( --steps 2 ), one file, or redo . - Preview before you run — mmk dry-run up prints the exact plan without touching the database. - No race conditions — an atomic MongoDB lock stops two deploys running migrations at once. - Tamper detection — SHA-256 checksums catch a migration edited after it was applied. - Audit trail kept — a rollback updates the record, it never deletes it. - Lifecycle hooks — beforeAll , afterAll , beforeEach , afterEach , onError . - Opt-in transactions — wrap a migration so it fully commits or fully aborts. - TypeScript, ESM & CommonJS — all run with no ts-node plumbing. - Zero config files required — drive everything from env vars if you prefer. How it compares to migrate-mongo Capability migrate-mongo mongo-migrate-kit ----------------------------------------------- :-------------: :-----------------: Run a single migration file ❌ ✅ Roll back a specific batch (not just the last) ❌ ✅ Dry-run preview ❌ ✅ redo (down + up) ❌ ✅ Checksum / tamper detection ❌ ✅ Lifecycle hooks ❌ ✅ First-class TypeScript (built-in) ❌ ✅ History","default_branch":null,"files":null,"tree":[],"storefront":"/r/guptasantosh327","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/guptasantosh327/mongo-migrate-kit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}