UNPKG

@cookbook/dot-notation

Version:

Object readings and complex transformations using dot notation syntax.

4 lines 235 B
import toArray from './to-array'; const replace = (source, searchValues, replaceWith) => toArray(searchValues).reduce((raw, value) => raw.replace(value, replaceWith), source); export default replace; //# sourceMappingURL=replace.js.map