XMLHttpRequest-ts is a typescript wrapper for the built-in http client to emulate the browser XMLHttpRequest object and allow isomorphic code that runs in the browser and in node.js. 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 frameworks.
This project is now confusing others and harming the ecosystem (you can see that here #1 ). I think it's time to retire it as a tool for a bad approach. I suggest saying this,
DEPRECATION NOTICE This project provides a wrapper for native functionality in node by bridging it to the XMLHttpRequest object that browser uses, allowing you to write just code using XMLHttpRequest in node and with TypeScript. This project further provides TypeScript definitions for that. This method of writing code for the client and server is deprecated: XMLHttpRequest has been replaced by the Fetch API: the Fetch API is standardized, and there are polyfills for older browsers that do not support it. The Fetch API is also available in Node. Write code for the Fetch API NOTXMLHttpRequest: there are methods of making it run everywhere, and it's more future safe.
Note this is similar to the honorable approach that Request.js took. I suggest reading their rationale and following their footsteps to better the community.
This project is now confusing others and harming the ecosystem (you can see that here #1 ). I think it's time to retire it as a tool for a bad approach. I suggest saying this,
Further, I would suggest archiving the project after the README is updated.
Note this is similar to the honorable approach that Request.js took. I suggest reading their rationale and following their footsteps to better the community.