Dot Path Value Versions Save

Safely get and set deep nested properties using dot notation.

v0.0.10

1 year ago

🐞 fix: cannot install the package because nodejs requires proper key ordering in package.json

thanks to @ablakey

v0.0.9

1 year ago

🐞 fix: missing type export declaration

thanks to @saibotk

v0.0.7

1 year ago

🥳 New function setByPath

import { setByPath } from 'dot-path-value';

const newObj = setByPath({ a: { b: 1 } }, 'a.b', 2);

thanks to @acurrieclark