ofetch
JavaScript library that wraps the fetch API with JSON parsing, retries, timeouts and interceptors.
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.
Identity
- Status
- Active
- Maintainer
- Pooya Parsa3
- Maintained by
- Individual3
- First release
- 20204
Rendering and deploy
- Install with
- npm2
Releases
Adoption
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/unjs/ofetch - 2026-11-16: Categories, Runtime, Install with
raw.githubusercontent.com/unjs/ofetch/main/README.md - 2026-11-16: Maintainer, Maintained by, License, License model
raw.githubusercontent.com/unjs/ofetch/main/LICENSE - 2026-11-16: First release
api.github.com/repos/unjs/ofetch/git/refs/tags/v0.0.1 - 2026-11-16: Current major version, Last release
api.github.com/repos/unjs/ofetch/releases - 2026-11-16: Contributors
api.github.com/repos/unjs/ofetch/contributors - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/ofetch - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ofetch