# @varlet/axle

> Progressive request tool based on axios

Latest version **1.1.1** (published 2026-10-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @varlet/axle
pnpm add @varlet/axle
yarn add @varlet/axle
bun add @varlet/axle
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2026-10-15 |
| First published | 2022-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 42.9 KB |
| Known vulnerabilities | 0 (+36 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 120 |
| Author | haoziqaq |
| Maintainers | haozijunqaq, beadre, clencat, binbinji, wegi8 |
| Keywords | axios, axle, composition api, helpers, vue3 |

## Links

- npm: https://www.npmjs.com/package/@varlet/axle
- Repository: https://github.com/varletjs/axle
- Homepage: https://github.com/varletjs/axle#readme
- Issues: https://github.com/varletjs/axle/issues
- npm.io page: https://npm.io/package/@varlet/axle

## Dependencies (5)

- [qs](https://npm.io/package/qs.md) ^6.11.0
- [axios](https://npm.io/package/axios.md) 1.7.3
- [lodash](https://npm.io/package/lodash.md) 4.17.21
- [rattail](https://npm.io/package/rattail.md) ^2.0.3
- [crypto-js](https://npm.io/package/crypto-js.md) ^4.2.0

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2026-10-15
- 0.11.0-alpha.1747141760435 (alpha) — 2025-05-13
- 1.1.0 — 2026-10-15
- 1.0.2 — 2026-04-09
- 1.0.1 — 2026-03-31
- 1.0.0 — 2026-03-23
- 0.13.2 — 2026-02-01
- 0.13.1 — 2026-02-01
- 0.13.0 — 2025-09-25
- 0.12.0 — 2025-08-27
- 0.11.2 — 2025-07-05
- 0.11.1 — 2025-05-20
- 0.11.0 — 2025-05-13
- 0.10.3 — 2025-01-17
- 0.10.2 — 2025-01-17
- … 92 more at https://npm.io/package/@varlet/axle/versions

## README

<div align="center">
  <a href="https://axle.varletjs.org">
    <img src="https://raw.githubusercontent.com/varletjs/axle/main/packages/docs/public/logo.svg" width="150">
  </a>
  <h1>AXLE</h1>
  <p>Progressive request tool based on axios.</p>
  <p>
    <a href="https://axle.varletjs.org">Documentation</a> |
    <a href="https://github.com/varletjs/axle/blob/main/README.zh-CN.md">中文介绍</a>
  </p>
  <p>
    <img src="https://img.shields.io/npm/v/@varlet/axle?style=flat-square" alt="version">
    <img src="https://img.shields.io/github/stars/varletjs/axle" alt="stars">
    <img src="https://img.shields.io/badge/vue-v3.2.0%2B-%23407fbc" alt="vue">
    <img src="https://img.shields.io/npm/l/@varlet/axle.svg" alt="license">
  </p>
</div>

---

### Intro

Progressive request tool based on [axios](https://axios-http.com/). It does not destroy the original abilities of axios, and helps you process requests more easily.

### Features

- 🚀 &nbsp; Normalized request functions with expanded methods for different response types
- 💪 &nbsp; Vue Composition API support with loading status, error status, upload/download progress, lifecycle, and more
- 🛠️ &nbsp; Built-in practical request/response interceptors
- 💡 &nbsp; Enhanced API definition with `createApi`
- 🌍 &nbsp; Full compatibility with axios configuration

### Install

```shell
# npm
npm i @varlet/axle -S

# yarn
yarn add @varlet/axle

# pnpm
pnpm add @varlet/axle
```

### Basic Usage

```js
import { createAxle } from '@varlet/axle'

const axle = createAxle(/** @see https://axios-http.com **/)

axle.get('/url', { current: 1, pageSize: 10 }, { headers: {} })
axle.post('/url', { name: 'Axle' }, { headers: {} })
```

### Documentation

For full documentation, please visit the [documentation site](https://axle.varletjs.org).

---
_Source: https://npm.io/package/@varlet/axle · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
