mongo-dot-notation

JSON →
library 3.1.1 ·javascript
verified Jun 5, 2026

3.1.1. Transform plain JavaScript objects into MongoDB update instruction objects with dot-notation paths. Supports all standard MongoDB update operators ($set, $inc, $push, $unset, $currentDate, etc.), array flattening, and positional operators ($, $[], $[identifier]). No runtime dependency on the mongo driver. Written in TypeScript with bundled type definitions. Frequently updated with CI and high test coverage.