# str-stream

> JSON.stringify stream for json pretty print

Latest version **0.1.2** (published 2014-05-23) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2014-05-23 |
| First published | 2014-05-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | yosuke-furukawa |
| Maintainers | yosuke-furukawa |
| Keywords | json, stringify, stream |

## Links

- npm: https://www.npmjs.com/package/str-stream
- Repository: https://github.com/yosuke-furukawa/str-stream
- Issues: https://github.com/yosuke-furukawa/str-stream/issues
- npm.io page: https://npm.io/package/str-stream

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.2 (latest) — 2014-05-23
- 0.1.1 — 2014-05-23
- 0.1.0 — 2014-05-23

## README

StringifyStream [![Build Status](https://travis-ci.org/yosuke-furukawa/stringify-stream.svg?branch=master)](https://travis-ci.org/yosuke-furukawa/stringify-stream)
===================

JSON.stringify and prettify for Stream

Usage
==================

```sh
$ npm install stringify-stream -S
```

```javascript
var fs = require("fs");

var StringifyStream = require('stringify-stream');
var ss = new StringifyStream({
  spaces: 2,
});

// { "hello": "world", "deep": "purple" }
var inStream = fs.createReadStream("test/in.json");
var outStream = fs.createWriteStream("test/out.json");

// prettifized!!
// { 
//    "hello": "world", 
//    "deep": "purple" 
// }
inStream.pipe(ss).pipe(outStream);

```

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