Skip to content
JS
Package

sswr

Svelte stale while revalidate (SWR) data fetching strategy

v2.2.0MITESM + CommonJSTypes: BundledSvelteHTTP clients
$ npm install sswr

Key numbers

As of 25 Sept 2026
Weekly downloads
259.5k
-7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
-
v2.2.0
GitHub stars
293
14 forks
Open issues / PRs
15 / 1
Contributors
-
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 504.5k (3 Mar 2026)Low 139.8k (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.

259,521 downloads last week, 1,302,592 in the last month. The 12-month change of -7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.2.0
First published
-
Last push to GitHub
14 Jun 2026102 days before the snapshot
Repository archived
No
Open issues
15
Open pull requests
1
Commits, last 52 weeks
4
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (1)
swrev
Peer dependencies (1)
svelte
npm install sswr
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sswr@2.2.0/
  • unpkghttps://unpkg.com/sswr@2.2.0/
  • esm.shhttps://esm.sh/sswr@2.2.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.