Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hairyf/axios-with-extra
https://github.com/hairyf/axios-with-extra
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hairyf/axios-with-extra
- Owner: hairyf
- License: mit
- Created: 2022-06-27T15:30:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:32:57.000Z (about 1 year ago)
- Last Synced: 2024-04-14T02:04:18.465Z (9 months ago)
- Language: TypeScript
- Size: 32.2 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# axios-with-extra
Has axios extra (axios interceptors) used by most business scenarios
[![npm Package](https://img.shields.io/npm/v/axios-with-extra.svg)](https://www.npmjs.org/package/axios-with-extra)
[![License](https://img.shields.io/npm/l/axios-with-extra.svg)](https://github.com/jprichardson/node-axios-with-extra/blob/master/LICENSE)
[![build status](https://img.shields.io/github/workflow/status/jprichardson/node-axios-with-extra/Node.js%20CI/master)](https://github.com/jprichardson/node-axios-with-extra/actions/workflows/ci.yml?query=branch%3Amaster)## Why?
I'm tired of duplicate code and scattered packages
## Install
```sh
npm install axios-with-extra
```## Methods
- [withAssignResponse](src/assign-response/index.md)
- [withErrorCustom](src/error-custom/index.md)
- [withErrorHelper](src/error-helper/index.md)
- [withLoadingHelper](src/loading-helper/index.md)
- [withExtraParams](src/params-extra/index.md)
- [withFilterParams](src/params-filter/index.md)
- [withAuthRefresh](https://github.com/Flyrell/axios-auth-refresh)
- [withRequestRetry](https://github.com/softonic/axios-retry)
- [withRequestPacker](src/request-packer/index.md)
- [withRequestCaches](src/request-caches/index.md)