# bare-fetch

> WHATWG Fetch implementation for Bare

Latest version **3.4.0** (published 2026-09-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install bare-fetch
pnpm add bare-fetch
yarn add bare-fetch
bun add bare-fetch
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.4.0 |
| Published | 2026-09-14 |
| First published | 2024-06-25 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 49.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 10 |
| Author | Holepunch |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/bare-fetch
- Repository: https://github.com/holepunchto/bare-fetch
- Homepage: https://github.com/holepunchto/bare-fetch#readme
- Issues: https://github.com/holepunchto/bare-fetch/issues
- npm.io page: https://npm.io/package/bare-fetch

## Dependencies (8)

- [bare-url](https://npm.io/package/bare-url.md) ^2.4.0
- [bare-mime](https://npm.io/package/bare-mime.md) ^1.0.0
- [bare-zlib](https://npm.io/package/bare-zlib.md) ^1.3.0
- [bare-http1](https://npm.io/package/bare-http1.md) ^4.5.2
- [bare-https](https://npm.io/package/bare-https.md) ^3.0.0
- [bare-stream](https://npm.io/package/bare-stream.md) ^2.9.1
- [bare-form-data](https://npm.io/package/bare-form-data.md) ^1.2.0
- [bare-performance](https://npm.io/package/bare-performance.md) ^2.1.1

## Recent versions

- 3.4.0 (latest) — 2026-09-14
- 3.3.0 — 2026-09-11
- 3.2.1 — 2026-08-31
- 3.2.0 — 2026-07-23
- 3.1.0 — 2026-07-14
- 3.0.2 — 2026-07-14
- 3.0.1 — 2026-05-05
- 2.9.1 — 2026-04-28
- 3.0.0 — 2026-04-28
- 2.9.0 — 2026-04-27
- 2.8.2 — 2026-04-06
- 2.8.1 — 2026-04-02
- 2.8.0 — 2026-03-19
- 2.7.3 — 2026-03-18
- 2.7.2 — 2026-03-18
- … 28 more at https://npm.io/package/bare-fetch/versions

## README

# bare-fetch

WHATWG Fetch implementation for Bare.

```
npm i bare-fetch
```

## Usage

```js
const fetch = require('bare-fetch')

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

console.log(await res.json())
```

## API

See the [`bare-fetch` reference](https://docs.pears.com/reference/bare/modules/bare-fetch).

## License

Apache-2.0

---
_Source: https://npm.io/package/bare-fetch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
