@bfun/fetch
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

@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);
});

Readme

Keywords

Package Sidebar

Install

npm i @bfun/fetch

Weekly Downloads

1

Version

1.1.3

License

MIT

Unpacked Size

12 kB

Total Files

10

Last publish

Collaborators

  • lolico