map.apps Bundle APIs 4.20.0
    Preparing search index...

    Module string-replace

    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

    Variables

    replace

    Functions

    customReplacer