deep-write
v1.0.0
Published
Helper to modify nested property value
Downloads
4
Readme
deep-write
deep-write
is a helper function that makes it easier to modify properties in deeply nested data structures.
It operates in a safe way, meaning that it doesn't throw errors at all, even when accessing property of null
or undefined
entry. Additionally, it allows to find certain array element by specifying an optional predicate function or matching object.
Installation
$ npm install deep-write