code: 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);
      });
    }
docs: Replaces template expressions with values.