Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
279 B
Text
Executable file
16 lines
279 B
Text
Executable file
'use strict';
|
|
|
|
const Reach = require('./reach');
|
|
|
|
|
|
const internals = {};
|
|
|
|
|
|
module.exports = function (obj, template, options) {
|
|
|
|
return template.replace(/{([^{}]+)}/g, ($0, chain) => {
|
|
|
|
const value = Reach(obj, chain, options);
|
|
return value ?? '';
|
|
});
|
|
};
|