# maxstache-stream

> Maxstache transform stream

Latest version **1.0.4** (published 2015-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install maxstache-stream
pnpm add maxstache-stream
yarn add maxstache-stream
bun add maxstache-stream
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2015-10-07 |
| First published | 2015-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Maintainers | yoshuawuyts |
| Keywords | maxstache, variable, stream, inject, template |

## Links

- npm: https://www.npmjs.com/package/maxstache-stream
- Repository: https://github.com/yoshuawuyts/maxstache-stream
- Homepage: https://github.com/yoshuawuyts/maxstache-stream#readme
- Issues: https://github.com/yoshuawuyts/maxstache-stream/issues
- npm.io page: https://npm.io/package/maxstache-stream

## Dependencies (4)

- [pump](https://npm.io/package/pump.md) ^1.0.0
- [split2](https://npm.io/package/split2.md) ^1.0.0
- [through2](https://npm.io/package/through2.md) ^2.0.0
- [maxstache](https://npm.io/package/maxstache.md) ^1.0.0

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2015-10-07
- 1.0.3 — 2015-10-06
- 1.0.2 — 2015-10-06
- 1.0.0 — 2015-10-06

## README

# maxstache-stream
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![Downloads][downloads-image]][downloads-url]
[![js-standard-style][standard-image]][standard-url]

[maxstache][0] transform stream. Faster and simpler than `{mu,min}stache`.

## Installation
```sh
$ npm install maxstache-stream
```

## Usage
```js
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
- [maxstache][0]

## License
[MIT](https://tldrlegal.com/license/mit-license)

[npm-image]: https://img.shields.io/npm/v/maxstache-stream.svg?style=flat-square
[npm-url]: https://npmjs.org/package/maxstache-stream
[travis-image]: https://img.shields.io/travis/yoshuawuyts/maxstache-stream/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/yoshuawuyts/maxstache-stream
[codecov-image]: https://img.shields.io/codecov/c/github/yoshuawuyts/maxstache-stream/master.svg?style=flat-square
[codecov-url]: https://codecov.io/github/yoshuawuyts/maxstache-stream
[downloads-image]: http://img.shields.io/npm/dm/maxstache-stream.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/maxstache-stream
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: https://github.com/feross/standard

[0]: https://github.com/yoshuawuyts/maxstache
[1]: https://github.com/yoshuawuyts/maxstache-stream

---
_Source: https://npm.io/package/maxstache-stream · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
