Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2.3m
- +37% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 5 years ago
- v2.6.0
- GitHub stars
- 798
- 96 forks
- Open issues / PRs
- 10 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
2,272,122 downloads last week, 10,927,944 in the last month. The 12-month change of +37% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 060 in total
- Latest version
- 2.6.0, 28 Nov 20205 years ago
- First published
- 12 Apr 2012
- Last push to GitHub
- 30 May 2025482 days before the snapshot
- Repository archived
- No
- Open issues
- 10
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 631
Major versions
- v2 first release 2.0.0, 11 Dec 2014
- v1 first release 1.1.1, 1 May 2013
- v0 first release 0.1.0, 12 Apr 2012
Recent releases
| Version | Published |
|---|---|
| 2.6.0 | 28 Nov 2020 |
| 2.5.0 | 17 May 2018 |
| 2.4.1 | 14 Dec 2017 |
| 2.4.0 | 17 Feb 2017 |
| 2.3.3 | 4 Jan 2017 |
| 2.3.2 | 15 Dec 2016 |
| 2.3.1 | 23 Nov 2016 |
| 2.3.0 | 20 Nov 2016 |
| 2.2.2 | 22 Jul 2016 |
| 2.2.1 | 8 Jul 2016 |
| 2.2.0 | 10 Nov 2015 |
| 2.0.5 | 5 Nov 2015 |
| 2.1.0 | 14 Sept 2015 |
| 2.0.4 | 21 Aug 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 21 kB
- Dependencies (4)
xtendglobalis-functionparse-headers
npm install xhr- jsDelivr
https://cdn.jsdelivr.net/npm/xhr@2.6.0/ - unpkg
https://unpkg.com/xhr@2.6.0/ - esm.sh
https://esm.sh/xhr@2.6.0
Indexability: Indexed.