axios/axios

▲ 74 stars today★ 109,393⑂ 12,021

Promise based HTTP client for the browser and node.js

About axios/axios

axios/axios is an open-source project on GitHub, mainly written in JavaScript. Promise based HTTP client for the browser and node.js It currently holds 109,393 stars and 12,021 forks with 121 open issues, and was last pushed on 2026-11-11 (repository created 2014-08-18).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #79 with 74 new stars today.

GitHub Repository Details

Repository axios/axios · default branch v1.x · size 30988 KB · watchers 1,230 · source: GitHub REST API and repository README

README

[!IMPORTANT]
Get Security Updates for Axios v0 & Early Access Provider →

💎 Platinum sponsors

https://github.com/axios/axios/blob/HEAD/Thanks.dev

We're passionate about making open source sustainable. Scan your dependency tree to better understand which open source projects need funding.

thanks.dev

💜 Become a sponsor
💜 Become a sponsor 💜 Become a sponsor

🥇 Gold sponsors

https://github.com/axios/axios/blob/HEAD/Principal Financial Group

Free tools to help with your financial planning needs!

principal.com

https://github.com/axios/axios/blob/HEAD/SAP

SAP SE, a global software company, is one of the largest vendors of ERP and other enterprise applications.

opensource.sap.com

https://github.com/axios/axios/blob/HEAD/Descope

Reduce user friction, prevent account takeover, and get a 360° view of your customer and agentic identities with the Descope External IAM platform.

descope.com

https://github.com/axios/axios/blob/HEAD/RxDB

RxDB is a NoSQL database for JavaScript that runs directly in your app.

rxdb.info

https://github.com/axios/axios/blob/HEAD/Poprey

Buy Instagram Likes

poprey.com

https://github.com/axios/axios/blob/HEAD/Fun 88

Fun88 is a global online gambling and betting brand founded in 2009, offering a wide range of services including sports betting, live casino games, slots, and virtual gaming.

global.fun88.com

https://github.com/axios/axios/blob/HEAD/JBO Vietnam

JBO Vietnam is a prominent online entertainment brand in Vietnam, offering sports betting, esports, online casino games, and a wide range of other exciting games.

jbo88b.com

https://github.com/axios/axios/blob/HEAD/JBO Thailand

JBO Thailand is a prominent online entertainment brand in Thailand, offering sports betting, esports, online casino games, and a wide range of other exciting games.

jbo88b.com

https://github.com/axios/axios/blob/HEAD/ScrapingBee

Scrape websites with a powerful web scraping API without managing proxies, browsers, or anti-bot defenses.

scrapingbee.com

https://github.com/axios/axios/blob/HEAD/HeroDevs

Security and long-term support for end-of-life open source software.

herodevs.com

https://github.com/axios/axios/blob/HEAD/Sweepico Promo Code

Social Gaming Platform

Sweepico Promo Code

https://github.com/axios/axios/blob/HEAD/CI powered by Namespace

Actually the fastest way to run
your GitHub Actions.

namespace.so



https://github.com/axios/axios/blob/HEAD/Axios

Promise based HTTP client for the browser and node.js

Website • Documentation

npm version Build status Gitpod Ready-to-Code install size npm bundle size npm downloads gitter chat code helpers Contributors Agent Friendly

Table of contents

Features

Browser support

| Chrome | Firefox | Safari | Opera | Edge | | :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: | | Chrome browser logo | Firefox browser logo | Safari browser logo | Opera browser logo | Edge browser logo | | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |

Browser Matrix

Installing

Package manager

Using npm:

$ npm install axios

Using yarn:

$ yarn add axios

Using pnpm:

$ pnpm add axios

Using bun:

$ bun add axios

Using Deno:

$ deno add axios

Once the package is installed, import it with import or require:

import axios, { isCancel, AxiosError } from 'axios';

You can also use the default export, since the named export is just a re-export from the Axios factory:

import axios from 'axios';

console.log(axios.isCancel('something'));

If you use require for importing, only the default export is available:

const axios = require('axios');

console.log(axios.isCancel('something'));

Some bundlers and ES6 linters need this form:

import { default as axios } from 'axios';

In custom or legacy environments, you can import the bundle directly:

const axios = require('axios/dist/browser/axios.cjs'); // browser commonJS bundle (ES2017)
// const axios = require('axios/dist/node/axios.cjs'); // node commonJS bundle (ES2017)

CDN

Using jsDelivr CDN (ES5 UMD browser module):


Using unpkg CDN:


Example

```js import axios from 'axios'; //const axios = require('axios'); // legacy way

try { const response = await axios.get('/user?ID=12345'); console.log(re

GitHub Stars & Activity

109,393Stars
12,021Forks
121Open issues
JavaScriptLanguage

GitHub Popularity

GitHub stars109,393
Forks12,021
Open issues121
Primary languageJavaScript
LicenseMIT
Stars gained today74
Created2014-08-18
Last pushed2026-11-11

Trending History

Daily boardrank #79 · ▲ 74 stars

Related GitHub Projects

1

react / react

JavaScript★ 252,539⑂ 52,363▲ 93 stars
→
2

nodejs / node

JavaScript★ 123,487⑂ 38,049▲ 133 stars
→
3

addyosmani / agent-skills

JavaScript★ 116,296⑂ 12,182▲ 787 stars
→
4

sveltejs / svelte

JavaScript★ 88,725⑂ 6,061▲ 83 stars
→
5

expressjs / express

JavaScript★ 69,672⑂ 25,434▲ 51 stars
→
6

coreyhaines31 / marketingskills

JavaScript★ 59,864⑂ 8,749▲ 212 stars
→
7

mksglu / context-mode

JavaScript★ 33,939⑂ 2,326▲ 98 stars
→
8

laoma528 / awesome-zhuiju-free

JavaScript★ 15,372⑂ 1,103▲ 190 stars
→

More Trending Repositories