dominictarr / JSONStream

rawStream.pipe(JSONStream.parse()).pipe(streamOfObjects)
Other
1.92k stars 165 forks source link

stream2 support #91

Open matthiasg opened 8 years ago

matthiasg commented 8 years ago

How difficult would it be to make it stream2 compatible ? If have just encountered JSONStream not being supported by modules such as hapi because they require stream2 compatible streams.

of course a workaround with new Readable().wrap(jsonStream) works, but is this really necessary ?