1. maxstache-stream
Maxstache transform stream
maxstache-stream
Package: maxstache-stream
Created by: yoshuawuyts
Last modified: Sun, 19 Jun 2022 17:00:59 GMT
Version: 1.0.4
License: MIT
Downloads: 643,225
Repository: https://github.com/yoshuawuyts/maxstache-stream

Install

npm install maxstache-stream
yarn add maxstache-stream

maxstache-stream

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

maxstache transform stream. Faster and simpler than {mu,min}stache.

Installation

 $ npm install maxstache-stream

Usage

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

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

API

transformStream = maxstache(vars)

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

See Also

License

MIT

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin