A simple and robust text template engine for JavaScript environments.
Created by Kris Walker 2023 - 2025.
- No dependencies: A template engine is a low level primitive component which systems depend on and should NOT complicate matters by having dependencies itself.
- Minimal: The scope of supported capabilities is kept intentionally small.
| Env | Version |
|---|---|
| ECMA | >= ES2022 |
| Node.js | >= 16.13.2 |
| Deno | >= 1.0.0 |
This library is designed for use in an ES6 module environment requiring Node.js >= 16.13.2 or Deno >= 1.0.0. You could use it in a browser, but there are no plans to offer CommonJS or AMD modules. It targets at least ES2022 and uses the optional chaining operator ?..
Node.js >= 16.13.2 is required for ES6 module stabilization and ES2022 support.
Note: There is no TypeScript here. It would be waste of time for a library as small as this.
See the docs/ folder for comprehensive docs.
Copyright: (c) 2023 - 2025 by Kris Walker (www.kriswalker.me)
Unless otherwise indicated, all source code is licensed under the MIT license. See LICENSE for details.