awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
github avatar

github/fetch

0
View on GitHub↗
25,881 星标·2,822 分支·JavaScript·MIT·5 次浏览

Fetch

This project is a JavaScript fetch polyfill and HTTP client library. It implements the Fetch API in environments that lack native browser support for web requests, providing a promise-based network wrapper for executing asynchronous HTTP calls and managing responses.

The library ensures a consistent interface across different JavaScript runtimes by mapping raw network data into standardized request and response objects. It utilizes the XMLHttpRequest object to perform network operations in environments where a native fetch implementation is unavailable.

The tool covers HTTP request management, including the ability to cancel pending network operations and manage security credentials for cross-origin and same-origin access.

Features

  • Promise-Based HTTP Clients - Provides a lightweight, promise-based HTTP client for making asynchronous network requests.
  • Network Request Clients - Acts as a client for making asynchronous web requests in environments without native browser support.
  • Asynchronous Request Execution - Performs non-blocking network requests using awaitable promise patterns to retrieve remote data.
  • Promise-Based API Wrappers - Wraps low-level network operations in standardized promise-based interfaces for asynchronous flow control.
  • API Polyfills - Provides a browser-like Fetch API interface across diverse JavaScript runtime environments.
  • Fetch Polyfills - Implements the standard Fetch API in environments that lack native browser support for web requests.
  • Request Cancellations - Provides mechanisms to immediately terminate active network requests to free up system resources.
  • Request Abort Signals - Implements AbortController signal integration to terminate pending network requests and free system resources.
  • XMLHttpRequest Transports - Uses the XMLHttpRequest object to execute network operations in environments lacking native fetch support.
  • Cookie Credential Management - Handles the configuration of credential inclusion and cookie management for cross-origin and same-origin requests.
  • HTTP Message Mapping - Maps raw network data and headers into standardized Request and Response objects for API compatibility.
  • HTTP Request Managers - Controls the lifecycle of HTTP communication, including credential management and request cancellation.
  • HTTP Clients - Polyfill for the standard window.fetch API.
  • Platform Compatibility Tools - Polyfill for the Fetch API.
  • Ajax模块 - Listed in the “Ajax模块” section of the Awesome Frontend awesome list.

Star 历史

github/fetch 的 Star 历史图表github/fetch 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Fetch 的开源替代方案

相似的开源项目,按与 Fetch 的功能重合度排序。
  • mzabriskie/axiosmzabriskie 的头像

    mzabriskie/axios

    109,096在 GitHub 上查看↗

    Axios is a promise-based HTTP client used to make asynchronous network requests in both browser and Node.js environments. It functions as a multi-environment network adapter that abstracts the transport layer to ensure consistent behavior across different runtimes. The project distinguishes itself through a request lifecycle management system that allows for the cancellation of active requests, the setting of timeouts, and the monitoring of upload and download transfer progress. It includes a mechanism for intercepting network traffic, enabling the transformation of outgoing requests and inco

    JavaScript
    在 GitHub 上查看↗109,096
  • bitinn/node-fetchbitinn 的头像

    bitinn/node-fetch

    8,861在 GitHub 上查看↗

    node-fetch is a lightweight HTTP client library that implements the browser-standard Fetch API for Node.js. It provides a promise-based interface for making asynchronous network requests to retrieve or send data from server-side environments. The project specializes in memory-efficient data handling by utilizing request and response streaming. This allows for the incremental processing of large network payloads through native system streams to prevent memory exhaustion. The library covers a broad range of networking capabilities, including the use of custom HTTP agents for DNS and SSL config

    JavaScript
    在 GitHub 上查看↗8,861
  • developit/unfetchdevelopit 的头像

    developit/unfetch

    5,712在 GitHub 上查看↗

    unfetch is an isomorphic HTTP client and network library that provides a promise-based interface for performing network requests consistently across both browser and server environments. It serves as a lightweight implementation of the Fetch API for environments that lack native support for making network requests. The library enables the retrieval of web resources as text, JSON, or binary blobs while maintaining a small memory footprint. It functions as a polyfill by installing the fetch interface into the global namespace when native browser support is unavailable. The tool covers broad ca

    JavaScript
    在 GitHub 上查看↗5,712
  • axios/axiosaxios 的头像

    axios/axios

    109,077在 GitHub 上查看↗

    Axios is an isomorphic, promise-based HTTP client designed for making asynchronous network requests across different JavaScript execution environments, including the browser and Node.js. It functions as a JSON API client that serializes JavaScript objects into JSON and parses server responses into structured data. The project features a system for managing reusable client instances with shared configurations, such as base URLs and default settings. It includes a mechanism for intercepting outgoing requests and incoming responses globally, allowing data to be transformed before it reaches the

    JavaScripthacktoberfesthttp-clientjavascript
    在 GitHub 上查看↗109,077
查看 Fetch 的所有 30 个替代方案→

常见问题解答

github/fetch 是做什么的?

This project is a JavaScript fetch polyfill and HTTP client library. It implements the Fetch API in environments that lack native browser support for web requests, providing a promise-based network wrapper for executing asynchronous HTTP calls and managing responses.

github/fetch 的主要功能有哪些?

github/fetch 的主要功能包括:Promise-Based HTTP Clients, Network Request Clients, Asynchronous Request Execution, Promise-Based API Wrappers, API Polyfills, Fetch Polyfills, Request Cancellations, Request Abort Signals。

github/fetch 有哪些开源替代品?

github/fetch 的开源替代品包括: mzabriskie/axios — Axios is a promise-based HTTP client used to make asynchronous network requests in both browser and Node.js… bitinn/node-fetch — node-fetch is a lightweight HTTP client library that implements the browser-standard Fetch API for Node.js. It… developit/unfetch — unfetch is an isomorphic HTTP client and network library that provides a promise-based interface for performing… axios/axios — Axios is an isomorphic, promise-based HTTP client designed for making asynchronous network requests across different… sindresorhus/got — Got is a promise-based HTTP request library for Node.js that supports HTTP/2 and streaming. It provides a system for… node-fetch/node-fetch — node-fetch is a promise-based HTTP client library that provides a lightweight implementation of the Fetch API for the…