1.0.16 • Published 5 months ago

@jswork/fetch v1.0.16

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

fetch

Get standard fetch from any environment.

version license size download

installation

# browser + bun
yarn add @jswork/fetch

# nodejs
yarn add @jswork/fetch node-fetch@2.6.7

usage

Usage1: import package.

import fetch from '@jswork/fetch';

// as usually const res = await fetch('https://api.github.com/users/afeiship'); console.log(res);

> Usage2: Or import to global(recommend)
```js
import '@jswork/fetch';

const res = await fetch('https://httpbin.org/get').then(r=>r.json())
console.log(res);

license

Code released under the MIT license.

1.0.16

5 months ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago