--- permalink: index.html layout: 'default' ---
npm install @jinyacms/jinya-html---
permalink: index.html
layout: 'default'
---
Jinya HTML is a tagged template string based super simple template engine, which probably doesn't even deserve the name template engine.
Either copy the index.js file or use the @jinyacms/jinya-html package from NPM.
Jinya HTML is ESM based, so you just need to include the index.js file. See a simple example below:
``javascript
import { html } from 'jinya-html';
document.addEventListener('DOMContentLoaded', () => {
const username = 'Foobar';
const result = html
- ${item}
)};
document.body.innerHTML = result;
});
``Jinya HTML is licensed under the MIT License.