{"library":"hook-fetch","type":"library","category":null,"description":"A lightweight HTTP request library built on the native Fetch API, offering an Axios-like API and hook-based plugin system. v2.3.2 (stable) supports React 19+ and Vue 3.5+. Key differentiators: supports automatic request hooks for loading state, error handling, and response transformation via plugins (retry, timeout, error). ESM-only, ships TypeScript types. Released monthly, actively maintained. Not a polyfill; requires modern browser with native fetch.","language":"javascript","status":"active","version":"2.3.2","tags":["javascript","fetch","axios","request","http","https","typescript","hook-fetch","hook-fetch-plugin"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install hook-fetch","imports":["import { createFetch } from 'hook-fetch'","import { useRequest } from 'hook-fetch/react'","import { useRequest } from 'hook-fetch/vue'","import { HookFetchPlugin } from 'hook-fetch'"]},{"cmd":"yarn add hook-fetch","imports":[]},{"cmd":"pnpm add hook-fetch","imports":[]}],"homepage":"https://jsonlee12138.github.io/hook-fetch/","github":"https://github.com/JsonLee12138/hook-fetch","docs":null,"changelog":null,"pypi":null,"npm":"hook-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}