JavaScript HTTP Client

Open-source JavaScript projects categorized as HTTP Client

Top 13 JavaScript HTTP Client Projects

  • axios

    Promise based HTTP client for the browser and node.js

  • Project mention: API Handling: Utilizing the Facade Pattern with Axios in Frontend Development | dev.to | 2024-04-25

    Typically, there are various ways to choose an HTTP client, and for this example, I've chosen axios.

  • insomnia

    The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

  • Project mention: Building a RESTful API with Node.js and Express | dev.to | 2024-04-08

    Use tools like Postman or Insomnia to test the API endpoints and ensure they behave as expected.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • node-fetch

    A light-weight module that brings the Fetch API to Node.js

  • Project mention: Building a README Crawler With Node.js | dev.to | 2024-04-08

    To execute the algorithm, we will use Node.js (for the JavaScript runtime) and node-fetch (for network requests). This means we will run the code locally from the command line. For this project, we will have an output folder to store all the README data, as well as a list (queue) of repository URLs to visit. Before diving into the code, it is important to plan the input and output of the algorithm. For this web crawler, we will start at a valid GitHub repository page, which would be one URL string. After visiting each page with a README, we will export the data into a new file. Now lets cover the process of requesting a repository page from a URL. For this, we only care about saving the README file that is displayed, and we will ignore any other links that GitHub displays (such as the navbar). We will send a URL request with node-fetch, and retrieve the result of a HTML string. If we convert the HTML string to a DOM Tree, we can search for a specific element. GitHub stores the README file under a div with the class "markdown-body". We can use a library called 'jsdom' to use Browser API methods, and return a specific node.

  • cross-fetch

    Universal WHATWG Fetch API for Node, Browsers and React Native.

  • redux-axios-middleware

    Redux middleware for fetching data with axios HTTP client

  • ky-universal

    Use Ky in both Node.js and browsers

  • httpie

    A Node.js HTTP client as easy as pie! 🥧 (by lukeed)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • RESTer

    A REST client for almost any web service (Firefox and Chrome Extension)

  • gh-got

    Convenience wrapper for Got to interact with the GitHub API

  • rock-req

    ⚡️ Ultra-light (150 LOC, zero dep.) & Ultra-fast NodeJS request library with reliable retry on failure, http/https, redirects, gzip/deflate/brotli, extensible, proxy, streams, JSON mode, forms, timeout

  • Project mention: S3 Client against disasters (hacks, fires, catastrophes) | dev.to | 2024-03-29

    🐞 Small codebase: Vanilla JS + Only 2 dependencies rock-req as HTTP client (zero deps) and aws4 for signing S3 requests (zero deps too).

  • react-axios-example

    Reactjs Axios example with Hooks and Rest API - React Axios get JSON data from API - React Axios Post with Functional component

  • request.js

    A lightweight, zero-dependency drop-in replacement for request.js (by therootcompany)

  • rest-url-parser

    Simplifies managing parameter-inclusive URLs, especially useful for applications handling REST APIs with URL-embedded resource identifiers.

  • Project mention: Discover rest-url-parser: A Powerful Open Source Tool for Parsing REST URLs | /r/programming | 2023-06-06

    Please take a moment to check it out at https://github.com/nepaul/rest-url-parser. Any feedback, suggestions, or questions are most welcome. Let's make parsing RESTful URLs easier together!

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript HTTP Client related posts

Index

What are some of the best open-source HTTP Client projects in JavaScript? This list will help you:

Project Stars
1 axios 103,985
2 insomnia 33,067
3 node-fetch 8,642
4 cross-fetch 1,650
5 redux-axios-middleware 918
6 ky-universal 667
7 httpie 575
8 RESTer 332
9 gh-got 177
10 rock-req 80
11 react-axios-example 27
12 request.js 9
13 rest-url-parser 4

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com