# async-axios

> Asynchronous method for axios using bluebird promise module.

Latest version **1.3.3** (published 2022-01-23) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install async-axios
pnpm add async-axios
yarn add async-axios
bun add async-axios
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.3 |
| Published | 2022-01-23 |
| First published | 2022-01-23 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | virgaux |
| Maintainers | virgaux |
| Keywords | axios, bluebird, fetch |

## Links

- npm: https://www.npmjs.com/package/async-axios
- npm.io page: https://npm.io/package/async-axios

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.25.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.7.2

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.3.3 (latest) — 2022-01-23
- 1.3.2 — 2022-01-23
- 1.3.1 — 2022-01-23
- 1.2.0 — 2022-01-23

## README

# async-axios
Asynchronous method for axios using bluebird promise module. 

```js
const asyAx = require('async-axios')

var data = asyAx.getData(path,config) 
    // result will be response.data
    // console.log(data)

var data = asyAx.get(path,config) 

    // same as this function.
    // var data = new Promise(async (resolve, reject) => {
    //        await axios.get(path, config).then(
    //            (response) => {
    //                resolve(response);
    //            },
    //                (error) => {
    //                reject(error);
    //            }
    //        );
    //    });

var data = asyAx.delete(path,config)  

var data = asyAx.head(path, config)

var data = asyAx.options(path, config)

var data = asyAx.request(config)

var data = asyAx.put(path, data, config)

var data = asyAx.post(path, data, config)

var data = asyAx.patch(path, data, config)

```

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