@bfunjs/fetch
v1.0.1
Published
@bfunjs/fetch library
Downloads
4
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);
});