https://github.com/paraboly/axios-client
https://github.com/paraboly/axios-client
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paraboly/axios-client
- Owner: Paraboly
- Created: 2019-08-21T13:12:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T07:44:39.000Z (over 3 years ago)
- Last Synced: 2025-06-23T09:06:46.933Z (11 months ago)
- Language: JavaScript
- Size: 14.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

[](https://www.npmjs.com/package/@paraboly/axios-client)
[](https://www.npmjs.org/package/@paraboly/axios-client)
[](https://opensource.org/licenses/MIT)
[](https://github.com/prettier/prettier)
## Installation
Add the dependency:
### Pure React Native:
```ruby
npm i @paraboly/axios-client
```
# Usage
```js
import { Api } from "@paraboly/axios-client";
// Setup One Time
Api.setup({
baseUrl: "your-base-url"
});
// Use it anywhere with automatic handlers
Api.get("/your-path")
.then(res => console.log("res:", res))
.catch(err => console.log("error: ", err));
```
## Author
paraboly, kurayogun@gmail.com
## License
Paraboly Axios-Client Library is available under the MIT license. See the LICENSE file for more info.