npm package
Homeswr
SWR is a React Hooks library designed for efficient remote data fetching, providing a streamlined approach to manage data fetching logic in applications. It is particularly useful for applications that require real-time data updates and caching strategies. With features like revalidation and pagination, it enhances user experience by ensuring fast and reactive UIs.
- lurq health score
- 81/100
- Confidence
- proven
- Weekly downloads
- 12,344,809
- Latest version
- 2.5.1
- Last release
- Aug 12, 2026
- License
- MIT
Should you depend on swr?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks swr at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading swr
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.3.0 → 2.5.1diff ready
- 0.5.7 → 1.3.0diff ready
Other data-fetching packages lurq scores
- @opentelemetry/instrumentation-dataloader90/100 · proven
- @notionhq/client85/100 · proven
- contentful85/100 · proven
- @googleapis/sheets83/100 · proven
- orval82/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 21, 2026; this page refreshes every 168 hours. Source repository.