@paraboly/axios-client

0.0.13 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @paraboly/axios-client

      Weekly Downloads

      1

      Version

      0.0.13

      License

      MIT

      Unpacked Size

      23.4 kB

      Total Files

      20

      Last publish

      Collaborators

      • parabolynpm