next-fetch

JSON →
library 1.0.1 ·javascript abandoned
verified Jun 7, 2026

A lightweight fetch wrapper for Next.js that transparently passes cookies and CSRF tokens between server-side and client-side requests. Version 1.0.1 is the latest stable release. Unlike raw unfetch or isomorphic-fetch, it integrates req/res objects from Next.js context to maintain session consistency during SSR. Requires manual server-side configuration to copy set-cookie headers. No active development since 2018.