Safely get and set deep nested properties using dot notation.
🐞 fix: cannot install the package because nodejs requires proper key ordering in package.json
thanks to @ablakey
🐞 fix: missing type export declaration
thanks to @saibotk
setByPath
import { setByPath } from 'dot-path-value'; const newObj = setByPath({ a: { b: 1 } }, 'a.b', 2);
thanks to @acurrieclark