# ofetch

JavaScript library that wraps the fetch API with JSON parsing, retries, timeouts and interceptors.


Source: https://findsoftware.frbit.cloud/ofetch/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/unjs/ofetch

### Identity

- status: active
- maintainer: Pooya Parsa
- maintainerType: individual
- parent: unknown
- firstRelease: 2020
- hqCountry: unknown

### Kind

- category: library
- hosting: node
- language: javascript
- runtime: node
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-11-01

### Adoption

- githubStargazers: 5368
- packagistDownloads: not applicable
- npmWeeklyDownloads: 25778994
- contributors: 65
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 7618
- dependentPackages: 292

### Sources

- urls: https://api.github.com/repos/unjs/ofetch (read 2026-11-16)
- category: https://raw.githubusercontent.com/unjs/ofetch/main/README.md (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/unjs/ofetch/main/LICENSE (read 2026-11-16)
- maintainerType: https://raw.githubusercontent.com/unjs/ofetch/main/LICENSE (read 2026-11-16)
- language: https://api.github.com/repos/unjs/ofetch (read 2026-11-16)
- runtime: https://raw.githubusercontent.com/unjs/ofetch/main/README.md (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/unjs/ofetch/main/README.md (read 2026-11-16)
- license: https://raw.githubusercontent.com/unjs/ofetch/main/LICENSE (read 2026-11-16)
- licenseModel: https://raw.githubusercontent.com/unjs/ofetch/main/LICENSE (read 2026-11-16)
- firstRelease: https://api.github.com/repos/unjs/ofetch/git/refs/tags/v0.0.1 (read 2026-11-16)
- currentMajor: https://api.github.com/repos/unjs/ofetch/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/unjs/ofetch/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/unjs/ofetch (read 2026-11-16)
- contributors: https://api.github.com/repos/unjs/ofetch/contributors (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/ofetch (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ofetch (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ofetch (read 2026-11-16)

## Notes

ofetch is a JavaScript library that the README describes as a better fetch API. It is written in TypeScript and installed with npm, and the README says it works on Node.js, in browsers and in workers.

## Worth knowing

The README's documentation describes an alpha development line on the default branch, and it links the stable line's own branch for the stable documentation.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
