1.0.0 • Published 5 years ago
deep-write v1.0.0
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