0.0.2 • Published 12 years ago
jt v0.0.2
Super easy template engine. Write templates in JSON!
var jt = require('jt');
var template = jt({
tag: 'div',
content: 'foo'
});
console.log(template()); // <div>foo</div>
Install
npm install jt
jt
return function(template) that can be callen in future