HTML Alchemy is a small Javascript (both node and browsers) library intended to help with building HTML strings.
Install with the npm package manager.
npm install --save htma
import { div } from 'htma';
const template_string = div('foo',{"class": "bar"});
// template_string is <div class="bar">foo</div>
TODO
TODO
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.