包详细信息

mini-fetchy

devdynamo80MIT1.2.0

Custom fetch client for reusable HTTP calls

fetch, axios-alternative, fetch-wrapper, http-client

自述文件

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