{"library":"xior","type":"library","category":null,"description":"A lightweight HTTP request library (~6KB, Gzip ~3KB) built on the Fetch API with a plugin system and an API similar to axios. Current stable version is 0.8.3 (released August 2024), with frequent updates (multiple releases per month). Key differentiators: supports error retry, throttling, deduplication, and caching via plugins; works seamlessly in edge runtimes, Tauri, and traditional Node.js; has built-in cancelation via AbortController; and provides TypeScript types. Unlike axios, it does not rely on XMLHttpRequest, making it suitable for modern environments. However, it is not a drop-in replacement: error handling, response shape, and browser compatibility differ.","language":"javascript","status":"active","version":"0.8.3","tags":["javascript","fetch","fetch wrapper","axios","axios fetch","axios alternatives","xior","fetch plugins","tauri","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install xior","imports":["import xior from 'xior'","import type { XiorInstance } from 'xior'","import type { XiorResponse } from 'xior'","import xior from 'xior'; const instance = xior.create({})"]},{"cmd":"yarn add xior","imports":[]},{"cmd":"pnpm add xior","imports":[]}],"homepage":"https://github.com/suhaotian/xior","github":"https://github.com/suhaotian/xior","docs":null,"changelog":null,"pypi":null,"npm":"xior","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}