UNPKG

mini-fetchy

Version:

Custom fetch client for reusable HTTP calls

17 lines (11 loc) โ€ข 529 B
# 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