{"library":"jsonpatch-to-mongodb","type":"library","category":null,"description":"Convert JSON Patch (RFC 6902) operations into MongoDB update documents. Version 1.0.0 provides a single function that translates an array of JSON patch operations (add, remove, replace, move, copy, test) into a MongoDB-compatible update object with $set, $unset, $push, $pull, etc. No release cadence specified; actively maintained by MongoDB.js team. Differentiators: lightweight, no external dependencies, designed specifically for MongoDB update generation.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","mongodb.js","mongodb","jiff","jsonpatch","json patch mongodb"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install jsonpatch-to-mongodb","imports":["import toMongodb from 'jsonpatch-to-mongodb'","const toMongodb = require('jsonpatch-to-mongodb')","import { toMongodb } from 'jsonpatch-to-mongodb'"]},{"cmd":"yarn add jsonpatch-to-mongodb","imports":[]},{"cmd":"pnpm add jsonpatch-to-mongodb","imports":[]}],"homepage":"http://github.com/mongodb-js/jsonpatch-to-mongodb","github":"git://github.com/mongodb-js/jsonpatch-to-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"jsonpatch-to-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}