entomic
v0.0.11
Published
A web templating engine that produces standard HTML from customized semantic markup
Downloads
34
Readme
entomic
An HTML templating engine
Usage
var Entomic = require('entomic');
var fs = require('fs');
var entomic = new Entomic();
var rendered = entomic.transform("<html><body><contact-details><phone>123</phone></contact-details></body></html>");
fs.writeFileSync("output.html", rendered.html);
constructor(options)
options.componentPath
Folder path where entomic components are located.
Type: String
Default: components