UNPKG

budgie-cli

Version:
12 lines 419 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.insertIntoTemplate = (template, insertions) => { for (const key in insertions) { if (!{}.hasOwnProperty.call(insertions, key)) { continue; } template = template.replace(new RegExp(`{${key}}`, "g"), insertions[key]); } return template; }; //# sourceMappingURL=templates.js.map