npm.io
3.4.0 • Published 4d ago

bare-fetch

Licence
Apache-2.0
Version
3.4.0
Deps
8
Size
49 kB
Vulns
0
Weekly
0
Stars
10

bare-fetch

WHATWG Fetch implementation for Bare.

npm i bare-fetch

Usage

const fetch = require('bare-fetch')

const res = await fetch('https://example.com/data')

console.log(await res.json())

API

See the bare-fetch reference.

License

Apache-2.0