Node.js XMLHttpRequest (driverdan)

JSON →
library 1.8.0 ·javascript abandoned
verified May 27, 2026

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.

total hits 11
actors 5 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France