mpath
JSON →Get and set nested JavaScript object properties using MongoDB-like dot notation, supporting array indexing and wildcard array paths. Version 0.9.0 is the latest stable release (last updated 2020). Lightweight, zero-dependency utility for manipulating deep object structures. Key differentiators: supports array property notation (e.g., 'comments.title' returns array of titles), optional map transform on get, and combined array indexing/wildcard for complex nested queries. Minimal API with only `get` and `set` methods.
Resources
packagempath ↗