return-fetch-json
JSON →An extended fetch function that automatically serializes request bodies as JSON and deserializes response bodies as JSON objects. Built on top of return-fetch, it provides a thin, typed wrapper around the native fetch API. Current stable version is 0.4.8 (released 2024). The package is actively maintained, releases are versioned on npm, and it ships TypeScript definitions. Key differentiators: zero dependencies, small bundle size, custom parser support, and integration with base URL and default headers from return-fetch. Ideal for developers who want a lightweight JSON-aware fetch without the overhead of Axios or ky.
Resources
packagereturn-fetch-json ↗
API endpoints
full doc /v1/registry/return-fetch-json