{"library":"mongo-migrate","type":"library","category":null,"description":"A MongoDB migration framework for Node.js. Version 2.0.2 (latest) is stable but in legacy maintenance mode — the package has not been updated since 2015 and the GitHub repository is archived. It provides a simple up/down migration pattern inspired by visionmedia/node-migrate, storing migration state in a MongoDB collection. Alternatives like migrate-mongo offer modern ESM support, async/await, and active maintenance. Key differentiator: direct MongoDB driver integration via db object in migration functions.","language":"javascript","status":"maintenance","version":"2.0.2","tags":["javascript","mongo","migrate","migrations"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mongo-migrate","imports":["exports.up = function(db, next) { /* ... */ };","exports.down = function(db, next) { /* ... */ };","node ./node_modules/mongodb-migrate -runmm up"]},{"cmd":"yarn add mongo-migrate","imports":[]},{"cmd":"pnpm add mongo-migrate","imports":[]}],"homepage":"https://github.com/afloyd/mongo-migrate#readme","github":"git://github.com/afloyd/mongo-migrate","docs":null,"changelog":null,"pypi":null,"npm":"mongo-migrate","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}