An open API service indexing awesome lists of open source software.

https://github.com/canjs/can-ndjson-stream

Converts a ReadableStream of raw ndjson data to a ReadableStream of JSON objects
https://github.com/canjs/can-ndjson-stream

fetch ndjson-stream readable-streams

Last synced: about 1 month ago
JSON representation

Converts a ReadableStream of raw ndjson data to a ReadableStream of JSON objects

Awesome Lists containing this project

README

        

# can-ndjson-stream

[![Join our Slack](https://img.shields.io/badge/slack-join%20chat-611f69.svg)](https://www.bitovi.com/community/slack?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Join our Discourse](https://img.shields.io/discourse/https/forums.bitovi.com/posts.svg)](https://forums.bitovi.com/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/canjs/can-ndjson-stream/blob/master/license.md)
[![npm version](https://badge.fury.io/js/can-ndjson-stream.svg)](https://www.npmjs.com/package/can-ndjson-stream)
[![Travis build status](https://travis-ci.org/canjs/can-ndjson-stream.svg?branch=master)](https://travis-ci.org/canjs/can-ndjson-stream)
[![Greenkeeper badge](https://badges.greenkeeper.io/canjs/can-ndjson-stream.svg)](https://greenkeeper.io/)

Most web applications encounter problems of latency because they process data discretely instead of in streams. `ndjsonstream()` converts a ReadableStream of raw ndjson data into a ReadableStream of Javascript objects.

## Documentation

Read the [can-ndjson-stream API docs on CanJS.com](https://canjs.com/doc/can-ndjson-stream.html).

## Changelog

See the [latest releases on GitHub](https://github.com/canjs/can-ndjson-stream/releases).

## Contributing

The [contribution guide](https://github.com/canjs/can-ndjson-stream/blob/master/CONTRIBUTING.md) has information on getting help, reporting bugs, developing locally, and more.

## License

[MIT](https://github.com/canjs/can-ndjson-stream/blob/master/license.md)