AttoJS/vue-request
⚡️ This is a library that can easily help you manage request states, supporting common features such as SWR, polling, error retry, caching, and pagination, etc. ⚡️ 这是一个能够轻松帮助你管理请求状态的库,支持 SWR、轮询、错误重试、缓存、分页等常用功能。 observed · 2026-08-28
Health v2 · maintenance only
28/100
- Activity 11
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2143
- days_rel: n/a
- days_push: 538
- n_releases_24m: 0
Adoption not part of the score
1397 stars · 95 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
VueRequest is a Vue composable library for managing API request states, supporting SWR, polling, error retry, caching, throttling/debouncing, and pagination. It works with both Vue 2 and Vue 3 and is written entirely in TypeScript.
Use cases
- manage loading and error states for API calls in Vue
- implement SWR-style data fetching in Vue 3
- poll an endpoint at intervals with automatic retry
- cache and deduplicate request data across components
- handle paginated lists and load-more requests
- refetch data when the window regains focus
When to choose
- you use Vue 2 or Vue 3 and want a SWR-like data fetching hook
- you want built-in polling, retry, caching, and pagination without writing boilerplate
- you want fully reactive, strongly-typed request state out of the box
When to avoid
- you use React or another non-Vue framework
- you need full GraphQL subscription or complex offline sync features
- you prefer a full state management solution like Pinia for server state
Facets
library · maturity active
http-client state-management caching middleware web-development frontend apis browser vue-request swr composition-api use-request polling error-retry pagination axios vue2 vue3 vue javascript typescript
3 sources
- readme: https://github.com/AttoJS/vue-request · fetched 2026-08-28 · 31d03ccb23f8
- homepage: https://www.attojs.com · fetched 2026-08-29 · 992f1de0f825
- registry_npm: https://registry.npmjs.org/vue-request · fetched 2026-08-29 · 644999052a40
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| AttoJS/vue-request | main | 28 |
For agents
markdown · JSON · MCP: product_card(name="AttoJS/vue-request")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem