A better fetch API. Works on node, browser and workers.
Ofetch is a better fetch API. Works on node, browser and workers. Licensed under MIT, it is very popular in the JavaScript ecosystem with 6.5M weekly downloads.
Ofetch has an good overall health score of 73/100. Its strongest dimension is popularity (100/100), while quality (50/100) is the area with most room for improvement. This package is in good shape overall.
The best package for every category — one PDF.
Join 500+ devs. No spam.
ofetch is a Nuxt-team Fetch wrapper with smart defaults. undici is Node.js's official HTTP client. Compare them for server-side JavaScript HTTP requests.
2026-03-08T00:00:00.000ZAxios, ky, and ofetch: JavaScript HTTP client libraries compared — bundle size, TypeScript support, and features for 2026 Compare pricing and use cases.
2026-03-04T00:00:00.000Z