0.0.13 • Published 6 years ago

@paraboly/axios-client v0.0.13

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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.