FindSoftware

swrv

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

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.

Identity

Status
Active
Maintainer
Kong Inc.4
Maintained by
Company
First release
20205

Rendering and deploy

Install with
npm3

Releases

Current major version
16
Last release
2026-09-165

Adoption

GitHub stars
2,2782
npm downloads a week
2,575,6107
Contributors
238
Dependent repositories
8309
Dependent packages
309

Why these figures do not compare

Sources

  1. 2026-11-16: links, Built on
    docs-swrv.netlify.app/
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/Kong/swrv
  3. 2026-11-16: Categories, Install with
    github.com/Kong/swrv/blob/master/README.md
  4. 2026-11-16: Maintainer
    github.com/Kong/swrv/blob/master/LICENSE
  5. 2026-11-16: First release, Last release
    api.github.com/repos/Kong/swrv/releases
  6. 2026-11-16: Current major version
    registry.npmjs.org/swrv/latest
  7. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/swrv
  8. 2026-11-16: Contributors
    api.github.com/repos/Kong/swrv/contributors
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/swrv

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON