1.0.0 • Published 8 years ago

rufio-filter-mustache v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

rufio-filter-mustache

NPM Version NPM Downloads Build Status js-happiness-style

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());
	});