1.1.0 • Published 2 years ago

@chaos1ee/axios v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@chaos1ee/axios

Superset of axios.

Easier to set the return type of axios requests

Example:

interface ResponseType {
    foo: string
}

Before

axios.get<unknown, ResponseType>('/something')

After

axios.get<ResponseType>('/something')

Install

yarn add @chaos1ee/axios

Usage

import axios from '@chaos1ee/axios'

axios.get<ResponseType>('/something')
1.1.0

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago