entomic

0.0.11 • Public • Published

# 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

/entomic/

    Package Sidebar

    Install

    npm i entomic

    Weekly Downloads

    2

    Version

    0.0.11

    License

    MIT

    Last publish

    Collaborators

    • adenhertog