rfc6902-mongodb
JSON →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.
Resources
packagerfc6902-mongodb ↗