Skip to content
JS
Package

xhook

Easily intercept and modify XHR request and response

v1.6.2, 28 Aug 2023MITESM + CommonJSTypes: None
$ npm install xhook

Key numbers

As of 25 Sept 2026
Weekly downloads
6.7k
+51% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v1.6.2
GitHub stars
1k
151 forks
Open issues / PRs
45 / 10
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 7.1k (8 Sept 2026)Low 1.3k (11 Aug 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

6,682 downloads last week, 15,409 in the last month. The 12-month change of +51% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.6.2, 28 Aug 20233 years ago
First published
-
Last push to GitHub
6 Jul 2024811 days before the snapshot
Repository archived
No
Open issues
45
Open pull requests
10
Commits, last 52 weeks
0
Dependents on npm
8

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
193 kB
Dependencies (0)
None
npm install xhook

CDN

jsDelivr: 332.3k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/xhook@1.6.2/
  • unpkghttps://unpkg.com/xhook@1.6.2/
  • esm.shhttps://esm.sh/xhook@1.6.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 6682 < 10000; no category.