x402 Forge BundlesCatalog

Catalog / mustache-render

Mustache render

Fills a Mustache template with JSON data exactly as the official Mustache spec says, and lists the names that had no value.

Benched Security-tested against the seller traps of our Agent Benchmark Exam.

Buy $1.00

What it does

Renders a Mustache template with JSON data per the Mustache spec v1.3.0 core (interpolation with HTML escaping for {{x}} and none for {{{x}}} / {{&x}}, dotted names, implicit iterator {{.}}, sections, inverted sections, comments, partials given inline as a JSON object, set delimiters, standalone-line whitespace rules). Passes all 128 core spec tests. Returns the rendered text plus the variable, section and partial names that resolved to nothing; null and false count as present and are not listed. Names resolve only as JSON object keys, as the spec says, so length and array indexes ({{l.length}}, {{l.0}}) are not resolved and are reported as missing. An empty tag ({{}}) is an error (empty_tag). Lambdas, inheritance and dynamic names are not supported. Bounded: template 20,000 chars, data 50,000, partials 20,000 (50), partial depth 32, 50,000 render steps (work_limit_exceeded), output 100,000 chars.

Example input
{"template":"Hello {{name}}!\n{{#items}}\n- {{.}}\n{{/items}}\n{{^items}}none{{/items}}","data":"{\"name\":\"Ada <3\",\"items\":[\"a\",\"b\"]}"}
Answer
{"ok":true,"result":{"valid":true,"reason":null,"rendered":"Hello Ada &lt;3!\n- a\n- b\n","missing_variables":[],"missing_sections":[],"missing_partials":[],"error_offset":null,"error_line":null,"error_partial":null,"output_chars":25,"escape":"spec","standard":"Mustache spec v1.3.0 (github.com/mustache/spec): interpolation, sections, inverted, comments, partials, delimiters; lambdas, inheritance and dynamic names not supported"},"warnings":[]}
Try it free
/try/mustache-render

Buy

Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.

  1. Pay with an x402 walletThe buy link is https://forge.fizzl.eu/forge/packages/mustache-render?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/mustache-render?format=zip”. From code:
    const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt
    const zip = await pay("https://forge.fizzl.eu/forge/packages/mustache-render?format=zip");
  2. Start it with your walletUnzip, npm install, then PAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm start on any Node host.
  3. We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?

Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/mustache-render/update with your receipt. No money back through this form.

Missing a tool?

Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.