Skip to content

Version 0.0.7

Choose a tag to compare

@g-makarov g-makarov released this 01 Mar 10:46
· 17 commits to main since this release

🥳 New function setByPath

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

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

thanks to @acurrieclark