{"library":"create-fetch","type":"library","category":null,"description":"A lightweight (1.4KB gzip) utility library for composing custom fetch wrappers with reusable middleware. Current stable version is 3.3.1, released regularly with a focus on TypeScript support and ESM compatibility. Differentiates from other fetch wrappers by providing a simple compose-based API (composeFetch) or pipeline pattern, alongside built-in middleware for default options, base URL injection, headers, query string serialization, JSON body serialization, and XSRF token handling. Supports both CommonJS and ESM, and ships TypeScript definitions.","language":"javascript","status":"active","version":"3.3.1","tags":["javascript","fetch","http","compose","middleware","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install create-fetch","imports":["import { composeFetch } from 'create-fetch'","import { query } from 'create-fetch'","import type { FetchEnhancer } from 'create-fetch'"]},{"cmd":"yarn add create-fetch","imports":[]},{"cmd":"pnpm add create-fetch","imports":[]}],"homepage":"https://github.com/ambar/create-fetch#readme","github":"https://github.com/ambar/create-fetch","docs":null,"changelog":null,"pypi":null,"npm":"create-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}