rufio-filter-mustache
v1.0.0
Published
A rufio filter for mustache templates
Downloads
5
Maintainers
Readme
rufio-filter-mustache
Install
$ npm install --save rufio-filter-mustache
Usage
var fs = require('fs');
var mustacheFilter = require('rufio-filter-mustache')();
// Pipe file content to the filter
fs.createReadStream('./file.md')
.pipe(mustacheFilter())
.on('data', function (c) {
// `c` is the rendered mustache template as a buffer
console.log(c.toString());
});