nowfound

Life & fun · September 13, 2014

KA

Kata – A Template Engine for Javascript

Kata : Javascript JSON templating engine

Kata – A Template Engine for Javascript launched on September 13, 2014 with 16 votes and more than 75% of that year's launches. The site was still online in September 2026, 12 years on.

In plain words

Kata is a JSON templating engine for JavaScript that uses marked blocks to process templates. It supports ten block types including templates, interpolation, iteration, conditionals, function invocation, and imports, each indicated by specific opening and closing symbols like {{ and }}. The tool is designed for developers who need to generate dynamic content from JSON data using a structured template syntax.

written from the facts on this page · September 2026

From the sources

Kata blocks are marked with opening {{ symbols and closed with }} symbols. There are ten kinds of Kata blocks: Template blocks, Interpolate blocks, Iterate blocks, Conditional blocks, Else/Elseif blocks, Invoke blocks, Yield blocks, Import blocks, Evaluate blocks, and Plugin blocks. Each of these blocks is indicated with an additional opening symbol and optionally the same closing symbol. For instance, a Conditional block is marked with {{@ @}} symbols. The @ on the closing brackets is optional, but can help make your templates more readable. You can click on the links to the left to learn more about each kind of Katafrom smcmurray.github.io

Does a similar job

all alternatives →
  • Editor.js2019 · editorjs.io · ▲723

    A block-styled editor with clean JSON output

  • Bourbon Engine2019 · ▲91

    Build fully native UIs in JSON and push them live instantly.

  • Mizu.js – Lightweight HTML templating library for any-side rendering2024 · mizu.sh · ▲225

    Hey HN, I'd like to share a fun project I've been working on: mizu.js. It's a js library that add functional attributes support into your html, designed to be a simple and flexible alternative to fully-fledged web frameworks (such as Vue, React, and Angular), while offering more capabilities than other lightweight options (like Alpine.js and htmx). As it's written using modern ES features and due to its isomorphic nature, it can be run in both browsers and runtimes (Node, Deno, Bun) without any changes. This makes it ideal for client-side and server-side rendering, as well as static site…

  • Askama – Type-safe, compiled Jinja-like templates for Rust2017 · github.com · ▲82

    The original askama repo, please go to https://github.com/askama-rs/askama - askama-rs/askama-old

  • JSON Generator2014 · json-generator.com · ▲139

    Create mock and sample JSON using a powerful template syntax

  • A django-inspired JavaScript templating system2012 · github.com · ▲14

    Spicy templating for node and the browser inspired by Twig, Dust.JS and Hogan.JS - deoxxa/node-ginger

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, September 2014

the whole month →
  • The most personal device Apple has ever created

    Life & fun · 2014 · apple.com

  • Peter Thiel's new book on Startups

    Life & fun · 2014 · amazon.sg

  • ReadMe▲601

    Beautiful Documentation Made Easy

    Life & fun · 2014 · readme.com

  • Forest▲533

    Put down your phone and stay focused. Or a tree will die. 🌳😵

    Life & fun · 2014 · forestapp.cc

  • Spectacle▲458

    Move and resize windows with ease on Mac.

    Life & fun · 2014 · spectacleapp.com

  • iPhone 6▲397

    Bigger, better iPhone

    Life & fun · 2014 · apple.com