0.1.1 • Published 2 years ago

hypercharge v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Implementation

import hyperFetch from 'hyperCharge';

// Example usage:
const apiUrl = 'https://api.example.com/data';
const requestData = { key: 'value' };

// Making a GET API call
const response = await makeApiCall(apiUrl);
console.log(response);

// Making a POST API call
const postResponse = await makeApiCall(apiUrl, 'POST', requestData);
console.log(postResponse);
0.1.1

2 years ago

0.1.0

2 years ago