leya-tpl
Asynchronously load and transform template.
var tpl = require('leya-tpl');
tpl.loadTransform({
file: 'test',
data: {
test: {
scope: this,
fn: method
}
},
done: function(err, text) {
}
});
Asynchronously load and transform template.
var tpl = require('leya-tpl');
tpl.loadTransform({
file: 'test',
data: {
test: {
scope: this,
fn: method
}
},
done: function(err, text) {
}
});
npm i leya-tpl
2
0.0.1
MIT