# pull-json-doubleline

> stream json stringify and parser into double newline delimited json. double newline delimiting means you can use indented json as the stream format, which is more human readable.

Latest version **2.0.0** (published 2016-09-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install pull-json-doubleline
pnpm add pull-json-doubleline
yarn add pull-json-doubleline
bun add pull-json-doubleline
```

## 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 | 2.0.0 |
| Published | 2016-09-11 |
| First published | 2016-03-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Dominic Tarr |
| Maintainers | dominictarr |

## Links

- npm: https://www.npmjs.com/package/pull-json-doubleline
- Repository: https://github.com/dominictarr/pull-json-doubleline
- Issues: https://github.com/dominictarr/pull-json-doubleline/issues
- npm.io page: https://npm.io/package/pull-json-doubleline

## Dependencies (4)

- [pull-split](https://npm.io/package/pull-split.md) ^0.2.0
- [pull-stream](https://npm.io/package/pull-stream.md) ^3.4.5
- [is-pull-stream](https://npm.io/package/is-pull-stream.md) 0.0.0
- [pull-stringify](https://npm.io/package/pull-stringify.md) ^2.0.0

## Recent versions

- 2.0.0 (latest) — 2016-09-11
- 1.1.0 — 2016-03-27
- 1.0.0 — 2016-03-02

## README

# pull-json-doubleline

stream json stringify and parser into double newline delimited json.
double newline delimiting means you can use indented json as the stream format,
which is more human readable.

## example

``` js
var pullJson = require('pull-json-doubleline')

pull(
  source,
  pullJson.stringify(),
  pullJson.parse(),
  sink
)
```

## api

### `pullJson = require('pull-json-doubleline')`

### `pullJson.stringify() => through`

stringify a stream of objects into double newline delimited json strings.

### `pullJson.parse() => through`

transform a stream of double newline delimited json strings into objects.

### `pullJson(source) => decodedSource`

decode a source stream of json buffers, return a source stream of objects.

### `pullJson(sink) => encodedSink`

encode a sink stream for json buffers, return a sink stream for objects.

### `pullJson(objectDuplex) => serializedDuplex`

encode/decode around a duplex stream of json buffers,
return a stream that can be piped to a io steam.

## License

MIT

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