{"library":"rfc6902-mongodb","type":"library","category":null,"description":"A Node.js library (v2.0.0, 2024) that converts RFC 6902 JSON Patch operations into a sequence of MongoDB update operations. It builds on rfc6902 and the standard mongodb driver, producing commands suitable for collection.updateOne(). Differs from similar tools by explicitly not supporting full-document replacement, array root targets, or empty keys; it also coalesces operations when safe but errs on correctness. Requires Node >=20 and is ESM-only. Low monthly downloads; niche utility for developers applying JSON Patches to MongoDB documents.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","rfc6902","mongodb"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install rfc6902-mongodb","imports":["import { updatesForPatch } from 'rfc6902-mongodb'","import { updatesForPatch } from 'rfc6902-mongodb'","import { updatesForPatch } from 'rfc6902-mongodb'"]},{"cmd":"yarn add rfc6902-mongodb","imports":[]},{"cmd":"pnpm add rfc6902-mongodb","imports":[]}],"homepage":"https://github.com/mrcranky/rfc6902-mongodb#readme","github":"https://github.com/mrcranky/rfc6902-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"rfc6902-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}