{"size": 192, "ext": "js", "max_stars_repo_path": "src/helpers/templater.js", "max_stars_repo_name": "dipcore/tourux", "max_stars_repo_stars_event_min_datetime": "2021-01-01T13:13:04.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-01T13:13:04.000Z", "max_issues_repo_path": "src/helpers/templater.js", "max_issues_repo_name": "dipcore/tourux", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/helpers/templater.js", "max_forks_repo_name": "dipcore/tourux", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.3333333333, "max_line_length": 49, "alphanum_fraction": 0.546875}
module.exports = function templater(tpl, data) {
	var re = /{{([^%>]+)?}}/g,
		match;
	while (match = re.exec(tpl)) {
		tpl = tpl.replace(match[0], data[match[1]]);
	}
	return tpl;
};
