{"library":"mongopatch","type":"library","category":null,"description":"MongoDB patching tool (v2.0.2) for declarative document migration via small, versioned JavaScript patches. Enables updates with query filtering, before/after hooks, and diff tracking. Current stable release is 2.0.2 (last updated 2018), with critical warnings about broken tests on MongoDB 2.6 and 3.4. Maintained primarily for internal use by debitoor. Release cadence is low; no new versions in several years. Not actively maintained. Differentiator: simple, git-friendly migration approach vs. mongodb-migrate or db-migrate.","language":"javascript","status":"maintenance","version":"2.0.2","tags":["javascript","mongodb","patch","cli"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mongopatch","imports":["const patch = require('mongopatch'); patch.run(...)","module.exports = function(patch) { patch.version('0.1.0'); ... }","patch.update('users', { query }, function(doc, cb) { cb(null, update); })"]},{"cmd":"yarn add mongopatch","imports":[]},{"cmd":"pnpm add mongopatch","imports":[]}],"homepage":"https://github.com/debitoor/mongopatch#readme","github":"git://github.com/debitoor/mongopatch","docs":null,"changelog":null,"pypi":null,"npm":"mongopatch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}