awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
request avatar

request/request-promise

0
View on GitHub↗
4,722 Stars·286 Forks·JavaScript·ISC·4 Aufrufe

Request Promise

Dieses Projekt ist ein Promise-basierter HTTP-Client für Node.js, der Callback-Style-Netzwerkanfragen in Promise-Objekte verpackt. Er dient als Bibliothek zum Senden von JSON-, Form-Data- und Multipart-Requests an Webserver bei gleichzeitiger Verwaltung der asynchronen Ablaufsteuerung.

Die Bibliothek nutzt eine spezialisierte Bluebird-Promise-Implementierung, um Request- und Response-Lebenszyklen zu handhaben. Sie enthält einen Sitzungsmanager, der ein Cookie-Jar verwendet, um den Zustand über mehrere Netzwerkaufrufe hinweg aufrechtzuerhalten und zu übertragen.

Das Tool deckt eine breite Palette an Netzwerkfunktionen ab, einschließlich REST-API-Integration, Response-Daten-Transformation und vollständiger HTTP-Response-Erfassung. Es bietet Mechanismen für Request-Abbruch, konfigurierbare Fehlerbehandlung für Nicht-Erfolgs-Statuscodes und Netzwerk-Traffic-Debugging.

Features

  • Promise-Based HTTP Clients - Wraps callback-style HTTP requests into promise objects to manage asynchronous network flow without nesting.
  • Asynchronous HTTP Calls - Enables making asynchronous HTTP requests using promises instead of traditional callbacks for simplified error and response handling.
  • REST API Integrations - Sending and receiving JSON data through HTTP requests to communicate with web services and external application interfaces.
  • HTTP Cookie Management - Manages session state across multiple network calls using a cookie jar to handle session cookies.
  • Request Body Encoders - Provides mechanisms to encode request bodies as JSON, URL-encoded forms, or multipart data for standard web transfers.
  • Node.js HTTP Clients - Serves as a comprehensive Node.js library for sending JSON, form data, and multipart requests to web servers.
  • Session & Cookie Handlers - Uses a cookie jar to store and send cookies across multiple requests to maintain session state.
  • Web Session Management - Maintains state across multiple network calls by storing and sending cookies using a cookie jar.
  • Callback-to-Promise Converters - Transforms standard Node.js error-first callbacks into promise resolve and reject states for consistent async handling.
  • Request Body Attachers - Transforms JavaScript objects into JSON or multipart form data strings before transmission over the network.
  • API Error Handling - Allows configuration to determine if the promise should reject based on HTTP status codes or only on network failures.
  • HTTP Response Processors - Captures full response objects and transforms raw body data into specific formats for application use.
  • Request Cancellations - Provides the ability to abort active network requests to stop associated processes from resolving or rejecting.
  • Configurable Promise Resolutions - Allows callers to decide whether non-success HTTP status codes trigger a promise rejection or a resolution.
  • Full Response Captures - Enables returning the complete HTTP response object, including status codes and headers, instead of only the response body.
  • API Response Transformations - Implements custom functions to transform raw response bodies into different formats before they are used by the application.

Star-Verlauf

Star-Verlauf für request/request-promiseStar-Verlauf für request/request-promise

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Request Promise

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Request Promise.
  • amitshekhariitbhu/fast-android-networkingAvatar von amitshekhariitbhu

    amitshekhariitbhu/Fast-Android-Networking

    5,906Auf GitHub ansehen↗

    🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀

    Java
    Auf GitHub ansehen↗5,906
  • bitinn/node-fetchAvatar von bitinn

    bitinn/node-fetch

    8,861Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗8,861
  • mzabriskie/axiosAvatar von mzabriskie

    mzabriskie/axios

    109,096Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗109,096
  • elbywan/wretchAvatar von elbywan

    elbywan/wretch

    5,174Auf GitHub ansehen↗

    Wretch is a chainable HTTP client library and Fetch API wrapper designed to simplify network request configuration, response parsing, and error handling. It functions as a network request manager and middleware framework for managing the end-to-end lifecycle of HTTP calls. The project is distinguished by a fluent interface for request configuration and a modular extension system. It utilizes a programmable response resolver to automate parsing and a plugin-based architecture to add new capabilities to request and response objects. The library covers a broad range of operational capabilities,

    TypeScript
    Auf GitHub ansehen↗5,174
Alle 30 Alternativen zu Request Promise anzeigen→

Häufig gestellte Fragen

Was macht request/request-promise?

Dieses Projekt ist ein Promise-basierter HTTP-Client für Node.js, der Callback-Style-Netzwerkanfragen in Promise-Objekte verpackt. Er dient als Bibliothek zum Senden von JSON-, Form-Data- und Multipart-Requests an Webserver bei gleichzeitiger Verwaltung der asynchronen Ablaufsteuerung.

Was sind die Hauptfunktionen von request/request-promise?

Die Hauptfunktionen von request/request-promise sind: Promise-Based HTTP Clients, Asynchronous HTTP Calls, REST API Integrations, HTTP Cookie Management, Request Body Encoders, Node.js HTTP Clients, Session & Cookie Handlers, Web Session Management.

Welche Open-Source-Alternativen gibt es zu request/request-promise?

Open-Source-Alternativen zu request/request-promise sind unter anderem: amitshekhariitbhu/fast-android-networking — 🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀. bitinn/node-fetch — node-fetch is a lightweight HTTP client library that implements the browser-standard Fetch API for Node.js. It… mzabriskie/axios — Axios is a promise-based HTTP client used to make asynchronous network requests in both browser and Node.js… elbywan/wretch — Wretch is a chainable HTTP client library and Fetch API wrapper designed to simplify network request configuration,… kittinunf/fuel — Fuel is a Kotlin HTTP client library for Android and Kotlin applications that handles both synchronous and… rest-client/rest-client — This is a Ruby HTTP client designed for REST API integration, resource modeling, and automated network communication.…