0.10.0 • Published 2 years ago
amole v0.10.0
amole
A zero-dependency template engine for HTML inspired by pug.
Installation
Via npm:
$ npm install amole
If you use vocado, amole is automatically used if installed. No need to include it or anything.
Nothing else is currently supported.
API
Compiling
.compile(source[, options])
Returns a function that takes one parameter (variables
). Running this function and passing it required variables as a JSON object will return final HTML code.