consolidate.js
consolidate.js copied to clipboard
Why not to export fromStringRenderer?
It would be awesome if I could extend consolidate to use any template engine I wish, but still taking advantage of its logic:
consolidate.myCustomTemplate = consolidate.fromStringRenderer('myCustomTemplate')
consolidate.myCustomTemplate.render = function(str, options, fn) {
// ...
}