Oboe.js reads json, giving you the objects as they are found without waiting for the stream to finish
npm install oboe
|11||downloads in the last day|
|60||downloads in the last week|
|144||downloads in the last month|
|Version||1.14.2 last updated 3 days ago|
|Keywords||json, parser, stream, progressive, http, sax, event, emitter, async, browser|
Oboe.js helps web applications respond quicker by wrapping http's request-response model with a progressively streamed interface. It glues a transport that sits somewhere between streaming and downloading to a JSON parser that sits somewhere between SAX and DOM. It is small enough to be a micro-library, doesn't have any external dependencies and doesn't care which other libraries you need it to speak to.
Oboe makes it really easy to start using json from a response before the ajax request completes. Or even if it never completes.