🕳 deep-replace
deep replace objects using property string, regex, fn match
📦 usage
yarn add deep-replacenpm i deep-replace --save
const deepReplace =
📘 examples
const match = // obj, valueTest, propertyTest, decoratorFnconst fixture = value: 'string' nested: again: again: 'string' object: {} array: const valueTest = typeof value === 'string'const propertyTest = nullconst decorator = { objprop = val + ' added me!'} // comes out as// fixture.nested.again.again === 'string added me!'// fixture.value === 'string added me!'