0.0.2 • Published 2 years ago

@bazoj/apiclient-browser v0.0.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

ApiClient Project

Part of bazoj. The ApiClient project is a JavaScript library for making HTTP requests. It provides a simple and consistent API for interacting with API services.

Features

  • Supports any HTTP method.
  • Checks network status before querying.

Installation

You can install the ApiClient library using npm:

npm install apiclient

Usage

Here's a basic example of how to use the ApiClient:

import ApiClient from 'apiclient';

const client = new ApiClient();
client.set('GET', 'https://api.example.com/data');
client.query()
  .then(data => console.log(data));

Contributing

We welcome contributions!

License

Please refer to the LICENSE file.

0.0.2

2 years ago

0.0.1

2 years ago