mini-fetchy
Version:
Custom fetch client for reusable HTTP calls
17 lines (11 loc) โข 529 B
Markdown
# mini-fetchyx
A lightweight, customizable `fetch` wrapper inspired by Axios instances. Easily create reusable HTTP clients with base URLs, headers, timeouts, and more โ powered by the native `fetch` API.
## ๐ Features
- ๐ ๏ธ Create custom fetch instances like `axios.create()`
- ๐ Set base URL once for all requests
- ๐งพ Set default headers (e.g., Auth, Content-Type)
- โฑ๏ธ Built-in timeout handling
- โก Lightweight and dependency-free
## ๐ฆ Installation
```bash
npm install mini-fetchy