You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an chance to implement web streams so that we can use sax.js in browser with fetch response directly? This would be really awesome and because nodejs is now also implementing web stream API it could be the approach for having a single stream implementation.
I'm looking for something like this:
Thank you, but this would not work in a browser. I cloned and adjusted the saxparser to get it working with native fetch API webstream. Another alternative would be to use a js lib that converts webstream into nodestreams in a browser.
Is there an chance to implement web streams so that we can use sax.js in browser with fetch response directly? This would be really awesome and because nodejs is now also implementing web stream API it could be the approach for having a single stream implementation.
I'm looking for something like this:
fetch("very-large.xml").then((response) => response.body.pipeThrough(saxWebStream))
The text was updated successfully, but these errors were encountered: