# pagekit/vue-resource

The HTTP client for Vue.js

Repository: https://github.com/pagekit/vue-resource
Canonical: https://ross.abutalabs.com/products/vue-resource
Language: JavaScript
License: MIT
License Family: permissive
Topics: vue, vue-resource, http-client, javascript
Archived: true
Last push: 2022-12-08T21:37:18+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4590, "days_push": 1364, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9981, forks 1563 (observed 2026-08-28T04:10:39.160271+00:00)

## What it is
vue-resource is an HTTP client plugin for Vue.js that provides services for making web requests via XMLHttpRequest or JSONP. It supports the Promise API, URI Templates, and request/response interceptors, and works with Vue 1.0 and 2.0.

## Use cases
- make http requests from a vue component
- call rest apis in vue.js app
- add ajax to vue 2 project
- handle jsonp requests in the browser
- add request and response interceptors in vue
- replace axios with a lightweight vue http client

## When to choose
- you are on Vue 1.x or 2.x and want a compact, Vue-integrated HTTP client
- you need JSONP support or URI templates
- bundle size matters and you want a ~5KB gzipped client

## When to avoid
- you are using Vue 3, which vue-resource does not support
- you prefer the community-standard axios or the native fetch API
- you need modern features like automatic JSON transforms or broad interceptor ecosystems

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, middleware
- domain: web-development, frontend, apis
- platform: browser
- tags: vue, vue-plugin, xhr, ajax, jsonp, interceptors, promise, nodejs, javascript

## Member repositories
- pagekit/vue-resource (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:39.160271+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:20:02.194486+00:00, confidence not recorded.
  - readme: https://github.com/pagekit/vue-resource (fetched 2026-08-28T04:10:39.160271+00:00, sha 1e8691bb570c)
  - registry_npm: https://registry.npmjs.org/vue-resource (fetched 2026-08-29T08:20:07.394258+00:00, sha 1ce0b6afd643)
- Data as of 2026-08-30T08:39:29.467469+00:00.
