{"library":"next-fetch","type":"library","category":null,"description":"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.","language":"javascript","status":"abandoned","version":"1.0.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install next-fetch","imports":["const getFetch = require('next-fetch')","const getFetch = require('next-fetch'); const fetch = getFetch()","const { req, res } = context; fetch(url, options, req, res)"]},{"cmd":"yarn add next-fetch","imports":[]},{"cmd":"pnpm add next-fetch","imports":[]}],"homepage":"https://github.com/nextjs-boilerplate/next-fetch#readme","github":"https://github.com/nextjs-boilerplate/next-fetch","docs":null,"changelog":null,"pypi":null,"npm":"next-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}