cross-fetch-json

JSON →
library 2.0.0 ·javascript
verified Jun 7, 2026

Isomorphic fetch wrapper that automatically parses JSON responses. Version 2.0.0 wraps cross-fetch and adds Zod integration via getFetchFn. It returns JSONValue or undefined, and supports custom schemas. Compared to raw fetch, it eliminates boilerplate for JSON parsing and error handling. Maintained by bconnorwhite, with regular updates.