Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

can-ndjson-stream

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-ndjson-stream

[![Greenkeeper badge](https://badges.greenkeeper.io/canjs/can-ndjson-stream.svg)](https://greenkeeper.io/)

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11K
decreased by-3.84%
Maintainers
3
Weekly downloads
 
Created
Source

can-ndjson-stream

Greenkeeper badge

Build Status

Build Status

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.

Demo

All the demo code can be found in the demo/ directory.

  1. To get started, run the demo server.
cd demo
node server.js
  1. Navigate to localhost:8080/demo/can-ndjson-stream.html to see the demo in action.

  2. Check out the demo code in demo/can-ndjson-stream.html.

ndjsonStream Visual

Contributing

Making a Build

To make a build of the distributables into dist/ in the cloned repository run

npm install
node build

Running the tests

Tests can run in the browser by opening a webserver and visiting the test.html page. Automated tests that run the tests from the command line in Chrome can be run with

npm test

FAQs

Package last updated on 11 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc