Loading homepage
Render Mustache-like placeholders using own-property lookup, dotted paths, and escaped output by default.
Input: renderTemplate("Hello {{ user.name }}!", { user: { name: "Ada" } }) Output: "Hello Ada!"
Input: renderTemplate("{{ value }} / {{{ value }}}", { value: "<b>Hi</b>" }) Output: "<b>Hi</b> / <b>Hi</b>"
Implement the exported function in index.js or index.ts. Tests provide fixtures for the required behavior.