https://github.com/anderspitman/xhr-stream-dl
https://github.com/anderspitman/xhr-stream-dl
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/anderspitman/xhr-stream-dl
- Owner: anderspitman
- Created: 2019-05-21T23:45:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-27T23:52:27.000Z (about 6 years ago)
- Last Synced: 2025-03-15T07:54:28.261Z (about 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a 0-dependency, ES module-compatible implementation of the streaming mechanism described
[here](https://hpbn.co/xmlhttprequest/#streaming-data-with-xhr) and
shown [here](https://gist.github.com/igrigorik/5736866).
Please read those for caveats. Essentially streaming is text-only and the entire request ends up
in memory before being released, so don't try to stream anything too big.