# nuxt-community/axios-module

Secure and easy axios integration for Nuxt 2

Repository: https://github.com/nuxt-community/axios-module
Canonical: https://ross.abutalabs.com/products/axios-module
Homepage: https://axios.nuxtjs.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: axios, request, nuxt, proxy, ssr, token, interceptor, backend, api, nuxt-module, hacktoberfest
Last push: 2026-08-26T10:48:30+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3307, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1187, forks 237 (observed 2026-08-28T04:03:55.247120+00:00)

## What it is
A Nuxt 2 module providing secure and easy integration of the Axios HTTP client. It automatically configures base URLs for client and server, proxies headers during SSR, and offers helpers like setToken and auto-retry.

## Use cases
- make api calls from a nuxt 2 app
- set auth token globally for all http requests
- proxy request headers during server-side rendering
- auto retry failed http requests
- share axios base url between client and server
- integrate axios with nuxt progress bar

## When to avoid
- you are using Nuxt 3, which offers the built-in isomorphic $fetch API
- you need an HTTP client outside of Nuxt

## Facets
- artifact type: plugin
- maturity: maintenance
- function: http-client, middleware, auth, ssr
- domain: web-development, frontend, apis
- platform: -
- tags: nuxt2, nuxt-module, axios, vue, interceptors, ssr-requests, nodejs, web-server

## Member repositories
- nuxt-community/axios-module (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:55.247120+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-30T06:23:43.376591+00:00, confidence not recorded.
  - readme: https://github.com/nuxt-community/axios-module (fetched 2026-08-28T04:03:55.247120+00:00, sha c94af7bf2f5d)
  - homepage: https://axios.nuxtjs.org (fetched 2026-08-29T12:30:55.672721+00:00, sha cc4b941f806f)
  - site_page: https://v3.nuxtjs.org/getting-started/data-fetching (fetched 2026-08-29T12:30:55.676969+00:00, sha 1dcce5818c38)
  - site_page: https://axios.nuxtjs.org/releases (fetched 2026-08-29T12:30:55.675031+00:00, sha 88ae87c416a9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
