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
fetch-readablestream focuses on providing cross-browser support for streaming a response using something resembling the fetch API (note: it does not implement all the methods of fetch - it's specifically just for those of us who need to stream binary data).
Factoring this logic out doesn't leave much for chunked-request to do - infact the current default chunk parser can be re-implemented in a few lines of user code, eg: https://github.com/jonnyreeves/fetch-readablestream/blob/release/v0.1.0/test/integ/util.js -- personally I am tempted to just deprecate this library and eventually remove the library from npm - but I am happy to port it / maintain it if others get use out of the API it exposes.
fetch-readablestream focuses on providing cross-browser support for
streaming a response using something resembling the fetch API (note: it
does not implement all the methods of fetch - it's specifically just for
those of us who need to stream binary data).
Factoring this logic out doesn't leave much for chunked-request to do -
infact the current default chunk parser can be re-implemented in a few
lines of user code, eg: https://github.com/jonnyreeves/fetch-
readablestream/blob/release/v0.1.0/test/integ/util.js -- personally I am
tempted to just deprecate this library and eventually remove the library
from npm - but I am happy to port it / maintain it if others get use out of
the API it exposes.
Appreciate that this library doesn't have many users; however as mentioned in #20, I've taken a very different approach and pulled the guts of this library out into a new package: https://github.com/jonnyreeves/fetch-readablestream/
fetch-readablestream focuses on providing cross-browser support for streaming a response using something resembling the
fetch
API (note: it does not implement all the methods of fetch - it's specifically just for those of us who need to stream binary data).Factoring this logic out doesn't leave much for chunked-request to do - infact the current default chunk parser can be re-implemented in a few lines of user code, eg: https://github.com/jonnyreeves/fetch-readablestream/blob/release/v0.1.0/test/integ/util.js -- personally I am tempted to just deprecate this library and eventually remove the library from npm - but I am happy to port it / maintain it if others get use out of the API it exposes.
Thanks for your contributions @MarcusLongmuir @Ruben-Hartog @ariutta and @jimmywarting
The text was updated successfully, but these errors were encountered: