Templon – A strict, modern template string engine for JavaScript/TS
Templon – A strict, modern template string engine for JavaScript/TS
Hi HN, I built [Templon]( https://github.com/amirfarzamnia/templon ), a lightweight template string engine for JavaScript and TypeScript. It’s designed to solve a simple but surprisingly messy problem: safely replacing placeholders in a string, with features you usually have to hack together yourself. Templon supports: - Deep variable access (`{{user.name}}`) - Custom delimiters - Escape characters for literal brackets - Strict mode (error if missing keys) - Circular reference protection - Full TypeScript types It’s useful when you want more than `string.replace`, but don’t need a full EJS/Handlebars engine. I was frustrated by older libraries like `string-template` not supporting nested objects or strict validation, and wanted something modern, strict, and flexible. Repo: https://github.com/amirfarzamnia/templon Would love feedback — good, bad, brutal. Thanks!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Jiko - Full Featured Template Engine for JavaScript
Kata – A Template Engine for Javascript
Javascript Template Loader
A JavaScript V8 engine walkthrough
Squirrelly, a modern, lighweight, and fast template engine
Boxwood – simple templating engine for JavaScript, in JavaScript
Basic voxel engine in WebGL/JavaScript with full source
JSX Template Engine
Handlebars just got a trim, alternative JavaScript template engine, 2kb
3D Raycasting Engine in JavaScript