@bfunjs/fetch

@bfunjs/fetch library

Usage no npm install needed!

<script type="module">
  import bfunjsFetch from 'https://cdn.skypack.dev/@bfunjs/fetch';
</script>

README

@bfunjs/fetch

import { fetch, IMethods } from '@bfunjs/fetch';

const params = {
    url: 'https://registry.npmjs.com/react/16.13.0',
    method: IMethods.GET,
    headers: {}
};
fetch(params).then(res => {
    console.log(res);
});