Skip to content

Paraboly/axios-client

Repository files navigation

Axios Client

npm version npm License: MIT styled with prettier

Installation

Add the dependency:

Pure React Native:

npm i @paraboly/axios-client

Usage

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors