lib/subst.js
function(template, map, fallback) {
    if (!map)
      return template;
    return template.replace(/\$\{.+?}/g, (match) => {
      const path = match.substr(2, match.length - 3).trim();
      return get(path, map, fallback);
    });
  }
function(template, map, fallback) {
    if (!map)
      return template;
    return template.replace(/\$\{.+?}/g, (match) => {
      const path = match.substr(2, match.length - 3).trim();
      return get(path, map, fallback);
    });
  }
function ( template , map , fallback ) { if ( ! map ) return template ; return template . replace ( / \$\{.+?} / g , ( match ) => { const path = match . substr ( 2 , match . length - 3 ) . trim ( ) ; return get ( path , map , fallback ) ; } ) ; }
Replaces template expressions with values.
Replaces template expressions with values .