@bfun/fetch
v1.1.3
Published
@bfun/fetch library
Downloads
11
Readme
@bfun/fetch
import { fetch, IMethods } from '@bfun/fetch';
const params = {
url: 'https://registry.npmjs.com/react/16.13.0',
method: IMethods.GET,
headers: {}
};
fetch(params).then(res => {
console.log(res);
});