Utility for ${key} replacement in template strings.

import replace from "apprt-core/string-replace";

let msg = replace("Say ${msg}",{msg: "hello" });
msg === "Say hello"; // true

Interfaces

ReplaceOptions

Type Aliases

StringReplacer
ValueLookup
ValueResolver

Functions

customReplacer
replace