Version 0.0.7
🥳 New function setByPath
import { setByPath } from 'dot-path-value';
const newObj = setByPath({ a: { b: 1 } }, 'a.b', 2);thanks to @acurrieclark
setByPathimport { setByPath } from 'dot-path-value';
const newObj = setByPath({ a: { b: 1 } }, 'a.b', 2);thanks to @acurrieclark