open-index/open-npm huggingface dataset:
npm package: @gourmet/ufetch
Description: A tiny HTTP client library that provides fetch-like API.
Latest version: 0.4.0

# @gourmet/ufetch

> A tiny, zero-dependency fetch-like library for implementing higher level Rest API clients.

Based on `node-fetch`: https://github.com/bitinn/node-fetch

Key differences from `node-fetch` are:
 - Much simpler API without the spec-compliance.
 - Use KeepAlive agents for both http and https by default.
 - Pass-through all unknown options to the underlying `http.request()`.
 - No sub-objects such as`Body`, `Request`, `Response` and `Headers`.
 - No binary body support such as `Blob` and `ArrayBuffer`.
 - No stream support.
 - No `multipart/form-data` / `FormData` support (but you can use `application/x-www-form-urlencoded`).
 - No compression encoding.
 - No abort signal.
 - No auto-setting of `Content-Type` based on `body` type.
 - Only UTF-8 encoding is supported for the string body.
 - No body size limit.
 - No `res.clone()`.
 - Only `get` & `has` in `res.headers`.