# swrv

Vue library that fetches remote data with stale-while-revalidate caching through the Vue Composition API.


Source: https://findsoftware.frbit.cloud/swrv/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://docs-swrv.netlify.app/
- repository: https://github.com/Kong/swrv
- docs: https://docs-swrv.netlify.app/

### Identity

- status: active
- maintainer: Kong Inc.
- maintainerType: company
- parent: unknown
- firstRelease: 2020
- hqCountry: unknown

### Kind

- category: library
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: vue

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: Apache-2.0

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-09-16

### Adoption

- githubStargazers: 2278
- packagistDownloads: not applicable
- npmWeeklyDownloads: 2575610
- contributors: 23
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 830
- dependentPackages: 30

### Sources

- urls: https://docs-swrv.netlify.app/ (read 2026-11-16)
- urls: https://api.github.com/repos/Kong/swrv (read 2026-11-16)
- urls: https://docs-swrv.netlify.app/ (read 2026-11-16)
- category: https://github.com/Kong/swrv/blob/master/README.md (read 2026-11-16)
- basedOn: https://docs-swrv.netlify.app/ (read 2026-11-16)
- language: https://api.github.com/repos/Kong/swrv (read 2026-11-16)
- license: https://api.github.com/repos/Kong/swrv (read 2026-11-16)
- maintainer: https://github.com/Kong/swrv/blob/master/LICENSE (read 2026-11-16)
- firstRelease: https://api.github.com/repos/Kong/swrv/releases (read 2026-11-16)
- currentMajor: https://registry.npmjs.org/swrv/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/Kong/swrv/releases (read 2026-11-16)
- installMethod: https://github.com/Kong/swrv/blob/master/README.md (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/swrv (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/Kong/swrv (read 2026-11-16)
- contributors: https://api.github.com/repos/Kong/swrv/contributors (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/swrv (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/swrv (read 2026-11-16)

## Notes

swrv is a Vue library for fetching remote data with stale-while-revalidate caching: a component gets cached data first, then the library sends the request and updates the data. The README describes it as largely a port of swr, the React library, and its FAQ compares the two.

## Worth knowing

Server-side rendering support was removed in a later release. Vue 2 is no longer supported; its last releases stay installable under separate tags.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
