0.1.1 • Published 1 year ago

hypercharge v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

0.1.0

1 year ago