package
Maxstache transform stream
npm install maxstache-streamGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
maxstache transform stream. Faster and simpler than {mu,min}stache.
$ npm install maxstache-streamconst maxstache = require('maxstache-stream')
const fs = require('fs')
fs.createReadStream('./foobar.txt')
.pipe(maxstache({ name: 'jjjohnny', occupation: 'wizard' }))
.pipe(process.stdout)Create a maxstache transform stream that injects an object of variables. Uses
the {{varName}} syntax to mark variables in templates.
yoshuawuyts
i@yoshuawuyts.com