fejon
v1.1.2
Published
axios but only with fetch api and response = response.data
Downloads
11
Maintainers
Readme
FEJON
Axios but only with fetch api and response = response.data, ts is supported
Installation
Use the package manager npm to install foobar.
npm i fejon
CDN
<script src="https://cdn.jsdelivr.net/npm/fejon"></script>
Usage
import fejon from 'fejon'
const url = 'https://[url to my api]'
const logData = async () => {
const data = await fejon.get(url)
console.log(data)
}
data()
HTTP METHODS SUPPORTED
- GET
- POST
- DELETE
- PUT
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.