{"library":"venus-fetch","type":"library","category":null,"description":"venus-fetch (vFetch) is a lightweight, easy-to-use fetch wrapper for making HTTP requests in browser environments. Current stable version 1.1.17. It provides a simplified API with support for GET, POST, PUT, DELETE, and OPTIONS methods, request/response interceptors (before/after hooks), configurable timeout, automatic Content-Type handling (form-urlencoded, multipart/form-data, JSON), file upload/download support, and built-in error codes. It differentiates itself by its hook system and global error handling, though it lacks TypeScript types, ESM modules, and server-side (Node.js) support.","language":"javascript","status":"active","version":"1.1.17","tags":["javascript","fetch","ajax"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install venus-fetch","imports":["import VFetch from 'venus-fetch'","import VFetch from 'venus-fetch';\nconst httpError = new VFetch.HttpError({...})","import VFetch from 'venus-fetch';\nconst errorMap = VFetch.HTTP_ERROR_MAP"]},{"cmd":"yarn add venus-fetch","imports":[]},{"cmd":"pnpm add venus-fetch","imports":[]}],"homepage":"https://github.com/Jecen/vFetch#readme","github":"ssh://git@github.com/Jecen/vFetch","docs":null,"changelog":null,"pypi":null,"npm":"venus-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}