This package has been deprecated

Author message:

Use maxstache-stream instead

minstache-stream

1.0.1 • Public • Published

minstache-stream

NPM version build status Test coverage Downloads js-standard-style

This module is republished as maxstache-stream

minstache transform stream. Faster and simpler than mustache.

Installation

$ npm install minstache-stream

Usage

const minstache = require('minstache-stream')
const fs = require('fs')

fs.createReadStream('./foobar.txt')
  .pipe(minstache({ name: 'jjjohnny', occupation: 'wizard' }))
  .pipe(process.stdout)

API

transformStream = minstache(vars)

Create a minstache transform stream that injects an object of variables. Uses the {{varName}} syntax to mark variables in templates.

License

MIT

Package Sidebar

Install

npm i minstache-stream

Weekly Downloads

9

Version

1.0.1

License

MIT

Last publish

Collaborators

  • yoshuawuyts