@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);
});
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);
});
npm i @bfun/fetch
1
1.1.3
MIT
12 kB
10