https://github.com/vercel/swr
cache data data-fetching fetch hook hooks nextjs react react-native stale-while-revalidate suspense swr vercel
Score: 34.09629516145263
Last synced: about 4 hours ago
JSON representation
Repository metadata:
React Hooks for Data Fetching
- Host: GitHub
- URL: https://github.com/vercel/swr
- Owner: vercel
- License: mit
- Created: 2019-10-28T18:16:01.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2026-10-16T17:57:58.000Z (18 days ago)
- Last Synced: 2026-11-03T02:16:13.846Z (about 8 hours ago)
- Topics: cache, data, data-fetching, fetch, hook, hooks, nextjs, react, react-native, stale-while-revalidate, suspense, swr, vercel
- Language: TypeScript
- Homepage: https://swr.vercel.app
- Size: 7.95 MB
- Stars: 32,492
- Watchers: 211
- Forks: 1,403
- Open Issues: 249
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Owner metadata:
- Name: Vercel
- Login: vercel
- Email: contactus@vercel.com
- Kind: organization
- Description: Develop. Preview. Ship. Creators of Next.js.
- Website: https://vercel.com
- Location: United States of America
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/14985020?v=4
- Repositories: 147
- Last Synced at: 2024-04-14T07:01:26.655Z
- Profile URL: https://github.com/vercel
GitHub Events
Total
- Create event: 38
- Delete event: 29
- Discussion event: 4
- Fork event: 129
- Issue comment event: 476
- Issues event: 751
- Pull request event: 79
- Pull request review comment event: 18
- Pull request review event: 52
- Push event: 101
- Release event: 6
- Watch event: 1971
- Total: 3654
Last Year
- Create event: 20
- Delete event: 16
- Discussion event: 3
- Fork event: 18
- Issue comment event: 34
- Issues event: 17
- Pull request event: 16
- Pull request review comment event: 2
- Pull request review event: 15
- Push event: 42
- Watch event: 173
- Total: 356
Committers metadata
Last synced: about 8 hours ago
Total Commits: 978
Total Committers: 205
Avg Commits per committer: 4.771
Development Distribution Score (DDS): 0.739
Commits in past year: 58
Committers in past year: 18
Avg Commits per committer in past year: 3.222
Development Distribution Score (DDS) in past year: 0.621
| Name | Commits | |
|---|---|---|
| Shu Ding | g****@s****n | 255 |
| Jiachi Liu | i****x@h****m | 211 |
| Yixuan Xu | y****4@o****m | 99 |
| Toru Kobayashi | k****4@g****m | 95 |
| vercel-release-bot | i****e@v****m | 33 |
| dependabot[bot] | 4****] | 18 |
| Sergio Xalambrà | h****o@s****m | 15 |
| Aaron Scherer | a****i@g****m | 6 |
| matamatanot | 3****t | 5 |
| Torleif Berger | t****f@o****m | 4 |
| Kexin Li | h****n@g****m | 4 |
| Yuta Osawa | y****1@g****m | 3 |
| Josh Kelley | j****l@g****m | 3 |
| Andrew Gadzik | a****k@v****m | 3 |
| 0xPierre | 4****b | 3 |
| teinett | t****e@t****u | 3 |
| Gang Chen | g****y@f****m | 3 |
| yusheng chen | s****1@g****m | 3 |
| Yann Pringault | y****t@g****m | 2 |
| Xuan | 9****2@g****m | 2 |
| Wei Zhu | y****k@g****m | 2 |
| iroiro147 | s****h@m****g | 2 |
| javascripter | j****r@t****t | 2 |
| Andrew Nguyen | 5****9 | 2 |
| Anirudh Atodaria | 4****3 | 2 |
| TakahiroHimi | 6****i | 2 |
| Steven | s****n@c****m | 2 |
| Reza Babaei | r****n@g****m | 2 |
| Paco | 3****y | 2 |
| Morgan Intrator | m****r@g****m | 2 |
| and 175 more... | ||
Issue and Pull Request metadata
Last synced: about 8 hours ago
Total issues: 920
Total pull requests: 432
Average time to close issues: 3 months
Average time to close pull requests: about 2 months
Total issue authors: 331
Total pull request authors: 168
Average comments per issue: 1.25
Average comments per pull request: 1.34
Merged pull request: 203
Bot issues: 0
Bot pull requests: 19
Past year issues: 27
Past year pull requests: 123
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 16 days
Past year issue authors: 24
Past year pull request authors: 76
Past year average comments per issue: 0.93
Past year average comments per pull request: 0.61
Past year merged pull request: 37
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- shizfs (172)
- ilaancho (45)
- remonhanyhalem (42)
- milocanepa (35)
- krishnaa83 (35)
- ghost (32)
- irreclult-weba7 (24)
- gureno09 (19)
- urlvnbrg (18)
- vzbrstenln (17)
- drsixcab (15)
- premilv1432 (15)
- tkra11 (11)
- dustinpmitton (8)
- vaynevayne (7)
Top Pull Request Authors
- huozhi (77)
- promer94 (29)
- shizfs (20)
- dependabot[bot] (19)
- shuding (15)
- koba04 (14)
- samuel871211 (8)
- krishnaa83 (8)
- irreclult-weba7 (6)
- devjiwonchoi (6)
- okxint (5)
- ilaancho (4)
- Conqxeror (4)
- oosawy (4)
- sitarosa07 (4)
Top Issue Labels
- bug (19)
- reproduction needed (18)
- area: typing (14)
- area: mutation (11)
- area: suspense (9)
- feature request (6)
- area: infinite (5)
- discussion (5)
- documentation (5)
- area: cache (5)
- good first issue (4)
- area: react-native (4)
- question (4)
- area: pagination (3)
- help wanted (3)
- wontfix (2)
- area: build (2)
- improvement (2)
- area: testing (1)
- area: subscription (1)
- RFC (1)
- area: concurrent (1)
- upstream (1)
Top Pull Request Labels
- dependencies (19)
- on hold (4)
- feature request (2)
- area: suspense (1)
- area: typing (1)
- area: infinite (1)
- breaking change (1)
- RFC (1)
Package metadata
- Total packages: 14
-
Total downloads:
- npm: 76,298,300 last-month
- Total docker downloads: 19,377,005
- Total dependent packages: 1,275 (may contain duplicates)
- Total dependent repositories: 39,482 (may contain duplicates)
- Total versions: 262
- Total maintainers: 12
npmjs.org: swr
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Licenses: MIT
- Latest release: 2.5.1 (published 3 months ago)
- Last Synced: 2026-11-03T03:20:56.720Z (about 7 hours ago)
- Versions: 181
- Dependent Packages: 1,271
- Dependent Repositories: 39,481
- Downloads: 76,298,218 Last month
- Docker Downloads: 19,377,005
-
Rankings:
- Dependent packages count: 0.056%
- Downloads: 0.107%
- Dependent repos count: 0.146%
- Docker downloads count: 0.324%
- Average: 0.376%
- Stargazers count: 0.528%
- Forks count: 1.099%
- Maintainers (3)
proxy.golang.org: github.com/vercel/swr
- Homepage:
- Documentation: https://pkg.go.dev/github.com/vercel/swr#section-documentation
- Licenses: mit
- Latest release: v2.5.1+incompatible (published 3 months ago)
- Last Synced: 2026-11-03T02:20:05.871Z (about 8 hours ago)
- Versions: 51
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Stargazers count: 0.056%
- Forks count: 0.851%
- Average: 3.794%
- Dependent repos count: 4.717%
- Dependent packages count: 9.553%
npmjs.org: test-swr-honey
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Status: unpublished
- Licenses: MIT
- Latest release: 2.0.0 (published almost 4 years ago)
- Last Synced: 2026-11-02T00:35:21.748Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.756%
- Forks count: 1.391%
- Average: 12.558%
- Dependent packages count: 21.874%
- Dependent repos count: 26.21%
npmjs.org: swr-on-racks
Rax Hooks library for remote data fetching
- Homepage: https://swr.vercel.app/
- Status: unpublished
- Licenses: MIT
- Latest release: 1.3.1 (published over 3 years ago)
- Last Synced: 2026-11-03T05:58:51.227Z (about 4 hours ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 5 Last month
-
Rankings:
- Stargazers count: 0.55%
- Forks count: 1.078%
- Average: 12.656%
- Downloads: 15.863%
- Dependent repos count: 18.771%
- Dependent packages count: 27.017%
- Maintainers (1)
npmjs.org: swr-amannn
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app/
- Licenses: MIT
- Latest release: 1.0.2-alpha.2 (published about 5 years ago)
- Last Synced: 2026-11-02T00:35:25.757Z (1 day ago)
- Versions: 4
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 13 Last month
-
Rankings:
- Stargazers count: 0.742%
- Forks count: 1.362%
- Average: 12.94%
- Dependent packages count: 16.224%
- Downloads: 21.042%
- Dependent repos count: 25.328%
- Maintainers (1)
npmjs.org: taro-swr
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Licenses: MIT
- Latest release: 1.0.0 (published about 5 years ago)
- Last Synced: 2026-11-03T05:09:36.484Z (about 5 hours ago)
- Versions: 4
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 9 Last month
-
Rankings:
- Stargazers count: 0.742%
- Forks count: 1.362%
- Average: 14.678%
- Dependent packages count: 16.224%
- Dependent repos count: 25.328%
- Downloads: 29.735%
- Maintainers (1)
npmjs.org: swr-fork
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Licenses: MIT
- Latest release: 0.5.4 (published almost 6 years ago)
- Last Synced: 2026-11-03T04:34:44.205Z (about 6 hours ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 6 Last month
-
Rankings:
- Stargazers count: 0.742%
- Forks count: 1.362%
- Average: 18.131%
- Dependent repos count: 25.328%
- Downloads: 30.327%
- Dependent packages count: 32.894%
- Maintainers (1)
npmjs.org: @grampelberg/swr
React Hooks library for remote data fetching
- Homepage: https://swr.now.sh
- Licenses: MIT
- Latest release: 0.3.0-beta.11 (published over 6 years ago)
- Last Synced: 2026-11-03T04:14:17.156Z (about 6 hours ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 9 Last month
-
Rankings:
- Stargazers count: 0.726%
- Forks count: 1.364%
- Dependent packages count: 16.224%
- Average: 18.387%
- Dependent repos count: 25.328%
- Downloads: 48.293%
- Maintainers (1)
npmjs.org: @danlite/swr
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app/
- Licenses: MIT
- Latest release: 1.3.1 (published over 4 years ago)
- Last Synced: 2026-11-03T04:14:17.052Z (about 6 hours ago)
- Versions: 1
- Dependent Packages: 1
- Dependent Repositories: 0
- Downloads: 10 Last month
-
Rankings:
- Stargazers count: 0.742%
- Forks count: 1.362%
- Dependent packages count: 16.22%
- Average: 18.967%
- Dependent repos count: 25.306%
- Downloads: 51.204%
- Maintainers (1)
repo1.maven.org: org.webjars.npm:swr
WebJar for swr
- Homepage: https://www.webjars.org
- Documentation: https://appdoc.app/artifact/org.webjars.npm/swr/
- Licenses: MIT
- Latest release: 2.3.3 (published over 1 year ago)
- Last Synced: 2026-11-03T02:20:04.437Z (about 8 hours ago)
- Versions: 2
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.721%
- Forks count: 4.274%
- Average: 21.459%
- Dependent repos count: 31.98%
- Dependent packages count: 48.86%
npmjs.org: swr-rn-fix
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Licenses: MIT
- Latest release: 1.1.0-beta.7 (published about 5 years ago)
- Last Synced: 2026-11-02T00:36:53.426Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3 Last month
-
Rankings:
- Stargazers count: 0.725%
- Forks count: 1.448%
- Average: 22.323%
- Dependent repos count: 25.328%
- Dependent packages count: 32.894%
- Downloads: 51.222%
- Maintainers (1)
npmjs.org: my-swr
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Licenses: MIT
- Latest release: 2.3.3 (published over 1 year ago)
- Last Synced: 2026-11-03T03:15:43.705Z (about 7 hours ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 17 Last month
-
Rankings:
- Downloads: 19.189%
- Dependent repos count: 24.697%
- Average: 26.511%
- Dependent packages count: 35.648%
- Maintainers (1)
npmjs.org: @gabrielryanpeter/swr
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Licenses: MIT
- Latest release: 2.3.3-patch.1 (published over 1 year ago)
- Last Synced: 2026-11-03T04:14:18.305Z (about 6 hours ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 10 Last month
-
Rankings:
- Dependent repos count: 24.635%
- Average: 30.097%
- Dependent packages count: 35.559%
- Maintainers (1)
repo1.maven.org: org.mvnpm:swr
React Hooks library for remote data fetching
- Homepage: https://swr.vercel.app
- Documentation: https://appdoc.app/artifact/org.mvnpm/swr/
- Licenses: MIT
- Latest release: 2.5.1 (published 3 months ago)
- Last Synced: 2026-11-03T02:20:04.330Z (about 8 hours ago)
- Versions: 8
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 34.114%
- Average: 41.442%
- Dependent packages count: 48.77%
Dependencies
- actions/setup-node v3 composite
- pnpm/action-setup v2.2.4 composite
- ./.github/workflows/install * composite
- actions/checkout v3 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- @reach/combobox 0.16.1
- lodash.debounce 4.0.8
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- @types/node 16.7.2 development
- @types/react 17.0.19 development
- typescript 4.3.5 development
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- immer 9.0.5
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- next latest
- react latest
- react-dom latest
- swr latest
- next latest
- react 18.1.0
- react-dom 18.1.0
- swr latest
- @types/node ^20.2.5
- @types/react ^18.2.8
- @types/react-dom 18.2.4
- next ^13.4.4
- react ^18.2.0
- react-dom ^18.2.0
- swr *
- typescript 5.1.3
- @arethetypeswrong/cli ^0.7.0 development
- @playwright/test ^1.34.3 development
- @swc/core ^1.3.62 development
- @swc/jest 0.2.26 development
- @testing-library/jest-dom ^5.16.5 development
- @testing-library/react ^14.0.0 development
- @type-challenges/utils 0.1.1 development
- @types/jest ^29.5.2 development
- @types/node ^20.2.5 development
- @types/react ^18.2.8 development
- @types/use-sync-external-store ^0.0.3 development
- @typescript-eslint/eslint-plugin 5.59.8 development
- @typescript-eslint/parser 5.59.8 development
- bunchee 3.9.2 development
- eslint 8.42.0 development
- eslint-config-prettier 8.8.0 development
- eslint-plugin-jest-dom 5.0.1 development
- eslint-plugin-react 7.32.2 development
- eslint-plugin-react-hooks 4.6.0 development
- eslint-plugin-testing-library 5.11.0 development
- husky 8.0.3 development
- jest 29.5.0 development
- jest-environment-jsdom 29.5.0 development
- lint-staged 13.2.2 development
- next ^13.4.4 development
- prettier 2.8.8 development
- react ^18.2.0 development
- react-dom ^18.2.0 development
- react-error-boundary ^4.0.9 development
- rimraf 5.0.1 development
- semver ^7.5.1 development
- swr workspace:* development
- typescript 5.1.3 development
- client-only ^0.0.1
- use-sync-external-store ^1.2.0
- 687 dependencies
- ./.github/workflows/install * composite
- actions/checkout v6.0.2 composite
- next latest
- react latest
- react-dom latest
- swr latest
- ./.github/workflows/install * composite
- actions/checkout v6.0.2 composite
- actions/upload-artifact v7.0.1 composite
- @types/node ^24.12.4 development
- @types/react ^19.2.7 development
- @types/react-dom ^19.2.3 development
- typescript 7.0.2 development
- next 16.3.0-canary.97
- react ^19.2.7
- react-dom ^19.2.7
- swr workspace:*