Skip to content
JS
Package

xhr2

XMLHttpRequest emulation for node.js

v0.2.1, 10 Feb 2021MIT-Types: -
$ npm install xhr2

Key numbers

As of 25 Sept 2026
Weekly downloads
1.3m
+9% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v0.2.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2m (16 Jun 2026)Low 652.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,264,100 downloads last week, 5,762,629 in the last month. The 12-month change of +9% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
0.2.1, 10 Feb 20215 years ago
First published
28 Jan 2013
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
551

Major versions

  1. v0 first release 0.0.1, 28 Jan 2013

Recent releases

VersionPublished
0.2.110 Feb 2021
0.2.027 May 2019
0.1.46 Jan 2017
0.1.39 Aug 2015
0.1.22 Feb 2015
0.1.113 Jan 2015
0.1.013 Aug 2014
0.0.71 Aug 2013
0.0.623 Apr 2013
0.0.53 Feb 2013
0.0.42 Feb 2013
0.0.329 Jan 2013
0.0.229 Jan 2013
0.0.128 Jan 2013
Module format
-Not determined from package.json
TypeScript types
-
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install xhr2
  • jsDelivrhttps://cdn.jsdelivr.net/npm/xhr2@0.2.1/
  • unpkghttps://unpkg.com/xhr2@0.2.1/
  • esm.shhttps://esm.sh/xhr2@0.2.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): completeness 0.5 < 0.6 (missing: github_owner, stars, module_type, category); GitHub data not fetched yet; no category.