unified-fetch

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

unified-fetch is an isomorphic wrapper around fetch APIs for Node.js and browsers, automatically selecting node-fetch, whatwg-fetch, or the native Fetch API based on the runtime environment. Version 1.0.0 is the current stable release with a moderate release cadence. It supports prefix URLs, JWT token injection, hooks, and additional headers. Unlike other fetch wrappers, it provides a single consistent API across environments and simplifies common tasks like JSON body and query string handling.