{"repo":"divyam234/feaxios","free":true,"listed":false,"github":"https://github.com/divyam234/feaxios","clone":"git clone https://github.com/divyam234/feaxios.git","description":"feaxios tiny 2KB fetch wrapper of axios","language":"TypeScript","stars":24,"topics":["axios","cloudflare-workers","fetch","fetch-api","serverless","nextjs"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"feaxios feaxios is a lightweight fetch-based HTTP client with an Axios-style API and optional plugins. It uses the native fetch() API available in modern runtimes and keeps the core entry small by moving extras like retry and logging into opt-in plugin paths. Key Features - Lightweight: Small core bundle with optional plugin entrypoints. - Native Fetch API: Utilizes the browser's native fetch, ensuring broad compatibility and seamless integration with modern web development tools. - Interceptor Support: feaxios supports interceptors, allowing you to customize and augment the request and response handling process. - Timeouts: Easily configure timeouts for requests, ensuring your application remains responsive and resilient. - Plugins: Optional features like retry and logging can be installed with client.use(...) . When to Use feaxios feaxios is useful when you want an Axios-like API on top of native fetch() without pulling a larger client into the main bundle. Plugins Install optional features per client with use() : Available plugin entrypoints: - feaxios/retry - feaxios/logger - feaxios/cookie-jar - feaxios/plugins For cookie jar behavior and advanced cookie handling rules, see tough-cookie : https://github.com/salesforce/tough-cookie For developing this repo: Request Config fetchOptions can include runtime-specific options supported by your environment, such as Node/Bun agent or dispatcher . Usage With Interceptors With Plugins","default_branch":null,"files":null,"tree":[],"storefront":"/r/divyam234","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/divyam234/feaxios/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}