FindSoftware

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

Current major version
15
Last release
2025-11-015

Adoption

GitHub stars
5,3681
npm downloads a week
25,778,9947
Contributors
656
Dependent repositories
7,6188
Dependent packages
2928

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/unjs/ofetch
  2. 2026-11-16: Categories, Runtime, Install with
    raw.githubusercontent.com/unjs/ofetch/main/README.md
  3. 2026-11-16: Maintainer, Maintained by, License, License model
    raw.githubusercontent.com/unjs/ofetch/main/LICENSE
  4. 2026-11-16: First release
    api.github.com/repos/unjs/ofetch/git/refs/tags/v0.0.1
  5. 2026-11-16: Current major version, Last release
    api.github.com/repos/unjs/ofetch/releases
  6. 2026-11-16: Contributors
    api.github.com/repos/unjs/ofetch/contributors
  7. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/ofetch
  8. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ofetch

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON