{"library":"xmlhttprequest","type":"library","category":null,"description":"The `xmlhttprequest` package provides a CommonJS-compatible implementation of the browser's XMLHttpRequest (XHR) object for Node.js environments. Its primary goal is to enable developers to reuse JavaScript code designed for browsers, particularly older libraries, within a Node.js context by emulating the standard XHR API. The latest version, 1.8.0, was published over a decade ago (October 2015), and the package has since been largely unmaintained. It conforms to the XMLHttpRequest Level 1 specification, lacking many features found in modern XMLHttpRequest Level 2 or the Fetch API. Due to its abandoned status and the existence of more actively maintained alternatives like `xhr2` or `w3c-xmlhttprequest`, new projects should generally avoid this package. Its release cadence was irregular, tied to core code changes or W3C spec conformity, but no significant updates have occurred in years. Key differentiators include its simple, direct emulation for older Node.js versions (0.4.0+) and minimal dependencies.","language":"javascript","status":"abandoned","version":"1.8.0","tags":["javascript","xhr","ajax"],"last_verified":"Wed May 27","install":[{"cmd":"npm install xmlhttprequest","imports":["const XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;"]},{"cmd":"yarn add xmlhttprequest","imports":[]},{"cmd":"pnpm add xmlhttprequest","imports":[]}],"homepage":null,"github":"https://github.com/driverdan/node-XMLHttpRequest","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/xmlhttprequest","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/xmlhttprequest/compatibility"}}