JavaScript HTTP

Open-source JavaScript projects categorized as HTTP

Top 23 JavaScript HTTP Projects

  • axios

    Promise based HTTP client for the browser and node.js

    Project mention: ManyShiba - The World's Greatest Twitter Bot | | 2024-04-08

    Note, you can use any library for HTTP requests like axios. This example uses the http and node-fetch libraries available on npm.

  • window.fetch polyfill

    A window.fetch JavaScript polyfill.

    Project mention: How do I detect requests initiated by the new fetch standard? How should I detect an AJAX request in general? | /r/codehunter | 2023-07-02

    Most js libraries use XMLHttpRequest and so provide HTTP_X_REQUESTED_WITH: XMLHttpRequest, but neither Chrome's implementation nor Github's polyfill of the new fetch uses a similar header. So how can one detect that the request is AJAX?

  • 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.

  • request

    🏊🏾 Simplified HTTP request client.

    Project mention: How to Create a Real-time Public Transportation Schedule App | | 2024-03-01

    request for HTTP requests outside of the browser.

  • superagent

    Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

    Project mention: 5 Ways to Make HTTP Requests in Node.js | | 2024-02-20

    SuperAgent is a lightweight and flexible HTTP client that supports promises and callback-style syntax. It is known for its simplicity and ease of use.

  • Hapi

    The Simple, Secure Framework Developers Trust

    Project mention: Ask HN: Is Express still "de-facto" for building Node back ends? | | 2023-10-29

    I tend to use hapi ( instead of Express if I need to write a quick backend for something these days.

    Fastify looks nice too but I haven't used it.

    Been burnt by full-stack frameworks in the past (e.g. Meteor) but they can be a good option for some.

  • http-proxy

    A full-featured http proxy for node.js

  • http-server

    a simple zero-configuration command-line http server

    Project mention: Need help setting up a remote depository using GitHub and VCS | /r/webdev | 2023-05-03

    Do you run a Webserver during development, even if it is a simple dev-server like ?

  • 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.

  • Nock

    HTTP server mocking and expectations library for Node.js

    Project mention: Contract Testing? | /r/softwaretesting | 2023-05-01

    So, why would you want a REAL server to mock request/reponses? You have a lot of intercepts today that sit on the network layer and you can define things like "If you send request to that endpoint, with that json, please return that Status" (for NodeJS example, Nock -

  • node-fetch

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

    Project mention: Building a README Crawler With Node.js | | 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.

  • artillery

    Load testing at cloud-scale. Serverless & distributed out-of-the-box. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module. Never fail to scale with Artillery!

    Project mention: Building Llama as a Service (LaaS) | | 2024-04-08

    I found a tool for load testing called Artillery. Following this guide I installed Artillery and began research for the test configuration.

  • isomorphic-fetch

    Isomorphic WHATWG Fetch API, for Node & Browserify

  • undici

    An HTTP/1.1 client, written from scratch for Node.js

    Project mention: When LIMIT 9 works but LIMIT 10 hangs: A short debugging story | | 2023-05-31

    Yeah: interestingly, they had a test for the biggest category of frame, but not for the two other categories:

    The test I contributed is very specific to the frame fix I made, but I should probably go back and contribute more tests in send.js that test other lengths too.

  • jsdelivr

    A free, fast, and reliable Open Source CDN for npm, GitHub, Javascript, and ESM

    Project mention: Cloudflare is slow and Cloudflare cant do much about it | | 2023-05-11

    Russia has blocked Cloudflare too too. You can see it in the issues for jsDelivr (which apparently handles a lot of traffic for TASS, since they use the CDN and browsers don't share caches for privacy reasons).

  • Primus

    :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.

    Project mention: Technologies to create a chat application with different channels like Slack? | /r/node | 2023-05-06 would work, but I'd recommend using primus with uws

  • dredd

    Language-agnostic HTTP API Testing Tool

    Project mention: The Uncreative Software Engineer's Compendium to Testing | | 2023-07-31

    Dredd: used to test APIs based on the API blueprint or OpenAPI specification, to ensure implementation matches the specification.

  • http-decision-diagram

    An activity diagram to describe the resolution of HTTP response status codes, given various headers.

    Project mention: It's time to put REST to rest | | 2023-12-28
  • spdy

    SPDY server on Node.js

  • cross-fetch

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

  • find-my-way

    A crazy fast HTTP router

  • hyper-express

    High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.

    Project mention: HyperExpress: High Performance Node.js Webserver | | 2023-06-25
  • download

    Download and extract files (by kevva)

  • InfluxDB

    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.

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). The latest post mention was on 2024-04-08.

JavaScript HTTP related posts


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

Project Stars
1 axios 103,912
2 window.fetch polyfill 25,801
3 request 25,672
4 superagent 16,535
5 Hapi 14,484
6 http-proxy 13,725
7 http-server 13,283
8 Nock 12,513
9 node-fetch 8,631
10 artillery 7,438
11 isomorphic-fetch 6,961
12 undici 5,728
13 jsdelivr 5,364
14 Primus 4,464
15 dredd 4,121
16 http-decision-diagram 3,541
17 spdy 2,801
18 broken-link-checker 1,871
19 cross-fetch 1,648
20 find-my-way 1,416
21 hyper-express 1,394
22 download 1,272
23 cookie 1,267
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.