const fillPath = (path, data) => path.replace(/:(\w+)/g, (text, key) => data[key] || text) module.exports = { fillPath }