Why do you need this library? Google Chrome (as of version 64) can not estimate the total download size of XMLHTTPRequests when content-encoding: gzip is set, even if the content-length header is set.
This can be used with JS designed for browsers to improve reuse of code and allow the use of existing libraries. Ready for AOT and treeshaking in combination with Angular and other modern typescript ...
In JavaScript, there are four ways to make an API call. Learn how to leverage each one to make HTTP requests and retrieve dynamic data from a server/database. Before JavaScript ES6 came out, the only ...