Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hairyf/axios-with-extra


https://github.com/hairyf/axios-with-extra

Last synced: 2 months ago
JSON representation

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)