Awesome
jstransformer-absurd
Absurd support for JSTransformers.
Installation
npm install jstransformer-absurd
API
var absurd = require('jstransformer')(require('jstransformer-absurd'))
var input = "h1: Hello <% name %>!";
var options = {
"morph": "html",
"type": "yaml"
};
var locals = {
"name": "World"
};
absurd.render(input, options, locals).body
//=> '<h1>Hello World!</h1>'
License
MIT