3.6.0 • Published 5 months ago
pow-templating v3.6.0
pow.js 💥
An extremely small and lightweight templating framework.
😲 Under 160 LOCs!
🤏 Less than 3 KiB minified script
🧩 No other dependencies
✅ 100% test coverage
Check out the interactive documentation
Project goals
- A very small library that can be included without additional dependencies
- Provides clear templating and interpolation
- Extensible functionality through function calling and templates
- Works without any server
- Fast enough to be used in a production environment
- Deterministic output
Installation
Get the npm module or import directly from any javascript module:
import pow from 'https://ifyates.github.io/pow.js/latest/pow.min.js'
Looking at CDN hosting soon.
Example
See it in action at JSFiddle 🏃➡️
// examples/quickstart.html <script type="module"> import pow from '../src/pow.js'
const data = {
"url": "https://github.com/IFYates/pow.js",
"title": "pow.js",
"description": "An extremely small and lightweight templating framework.",
"tags": [ "javascript", "templating", "framework" ],
"creation": {
"author": "IFYates",
"date": "2024-12-09"
}
}
pow.apply(document.body, data)
Learn more
Read the full documentation
3.6.0
5 months ago
3.5.0
5 months ago
3.4.1
6 months ago
3.4.0
6 months ago
3.3.0
6 months ago
3.2.0
6 months ago
3.1.0
6 months ago
3.0.1
6 months ago
3.0.0
6 months ago
2.3.0
6 months ago
2.2.0
7 months ago
2.1.0
7 months ago
2.0.1
7 months ago
2.0.0
7 months ago
1.4.1
7 months ago
1.4.0
7 months ago
1.3.0
7 months ago
1.2.0
7 months ago
1.1.0
7 months ago
1.0.2
7 months ago
1.0.1
7 months ago
1.0.0
7 months ago
0.1.2
7 months ago
0.1.1
7 months ago
0.1.0
7 months ago