JavaScript HTTP

Open-source JavaScript projects categorized as HTTP

Top 23 JavaScript HTTP Projects

  1. axios

    Promise based HTTP client for the browser and node.js

    Project mention: React's useEffect vs. useSWR: Exploring Data Fetching in React. | dev.to | 2025-04-03

    The concept of data fetching in React applications is of high importance as it is often necessary to fetch data from an external source, such as an API or a database, and use that data to render components. React provides several ways to fetch data, including the built-in fetch method and popular third-party library Axios. One popular approach to data fetching in React is to use hooks like useEffect and useSWR from the swr third-party npm package. These hooks allow developers to fetch data and manage its state within a component, making it easy to update the UI in response to changes in the data.

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. window.fetch polyfill

    A window.fetch JavaScript polyfill.

  4. request

    🏊🏾 Simplified HTTP request client.

    Project mention: The Fetch API is finally stable in Node.js | dev.to | 2025-03-24

    Long before the addition of the Fetch API, the request module was the most popular method for making HTTP requests in Node. But the JavaScript ecosystem at large quickly evolved, and newly introduced patterns made the request module obsolete. A crucial example here is async/await; there was no provision for this in the request API, and the project was later deprecated due to these limitations.

  5. superagent

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

    Project mention: Learning from My Own Tests | dev.to | 2024-11-11

    Even though I've done testing before in other courses and was already familiar with Jest, I'd never read the docs thoroughly or used the mock functionality (working with servers in the past, I'd used superagent), so I learned a lot working on these tests. I think mocking and setup/teardown are incredibly useful features to have when writing tests.

  6. Hapi

    The Simple, Secure Framework Developers Trust

    Project mention: JS Frameworks Guide | dev.to | 2024-08-22

    hapi

  7. http-proxy

    A full-featured http proxy for node.js

  8. http-server

    a simple zero-configuration command-line http server

    Project mention: Simple Web Server | news.ycombinator.com | 2025-04-14

    npx http-server (keep the "r" at the end, it's more up-to-date than the http-serve package)

    https://github.com/http-party/http-server

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. Nock

    HTTP server mocking and expectations library for Node.js

    Project mention: The best way for testing outbound API calls | dev.to | 2025-02-06

    mocha is a lib inspired by nock and WireMock. It allows checking if the mock was called or not, which is a nice feature. Like httptest, it also it don't automatically intercept the requests.

  11. node-fetch

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

    Project mention: Migrating node-fetch/form-data to Node.js native APIs | dev.to | 2024-07-27

    The release of Node v16.15.0 and v17.5.0 brought in the Fetch API and FormData. Before that, the node-fetch and form-data packages were used to use browser-like APIs in Node.js. To migrate node-fetch/form-data packages to Node.js native APIs, some changes can be made by removing import statements of 3rd-party packages, but there are important considerations to keep in mind when using Node.js features such as file system. This article outlines about migrating from node-fetch/form-data packages to Node.js native APIs.

  12. isomorphic-fetch

    Isomorphic WHATWG Fetch API, for Node & Browserify

  13. undici

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

    Project mention: Show HN: Hyperbrowser MCP Server – Connect AI agents to the web through browsers | news.ycombinator.com | 2025-03-20
  14. jsdelivr

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

    Project mention: Cdn.jsdelivr.net Has SSL Issue | news.ycombinator.com | 2024-05-01
  15. Primus

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

  16. http-decision-diagram

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

    Project mention: So many feed readers, so many behaviors | news.ycombinator.com | 2024-05-28

    Not sure about best practices, but these two resources are a good reference point:

    - Know Your HTTP Well: https://github.com/for-GET/know-your-http-well

    - HTTP Decision Diagram: https://github.com/for-GET/http-decision-diagram

  17. spdy

    SPDY server on Node.js

  18. hyper-express

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

  19. cross-fetch

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

  20. find-my-way

    A crazy fast HTTP router

  21. download

    Download and extract files (by kevva)

  22. Meteor-Files

    🚀 Upload files via DDP or HTTP to ☄️ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.

    Project mention: Is Modern Web Dev Too Complex for Newcomers? | dev.to | 2025-03-28

    📁 Blob Storage: While there are no official packages, There is a well-established packages meteor-files by Veliov Group. Which lets you pload files to AWS, GridFS, DropBox or Google Drive.

  23. just-api

    :boom: Test REST, GraphQL APIs

    Project mention: Show HN: Posting v1 – The modern HTTP client that lives in your terminal | news.ycombinator.com | 2024-07-10

    This looks great. I love that it's using YAML files that can be version controlled and shared.

    I developed Just-API (https://github.com/kiranz/just-api) with YAMLs for automation testing of APIs.

  24. homebridge-camera-ui

    Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support

  25. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
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 discussion

Log in or Post with

JavaScript HTTP related posts

  • React's useEffect vs. useSWR: Exploring Data Fetching in React.

    3 projects | dev.to | 3 Apr 2025
  • My Type of Library: Axios TypeScript Conversion

    2 projects | dev.to | 1 Apr 2025
  • Is Modern Web Dev Too Complex for Newcomers?

    3 projects | dev.to | 28 Mar 2025
  • How To Fetch Data From API In React JS Axios

    1 project | dev.to | 26 Mar 2025
  • The Fetch API is finally stable in Node.js

    2 projects | dev.to | 24 Mar 2025
  • Show HN: Hyperbrowser MCP Server – Connect AI agents to the web through browsers

    2 projects | news.ycombinator.com | 20 Mar 2025
  • How To Use React JS In a Laravel Project

    3 projects | dev.to | 19 Mar 2025
  • A note from our sponsor - Civic Auth
    www.civic.com | 25 Apr 2025
    Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today. Learn more →

Index

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

# Project Stars
1 axios 106,706
2 window.fetch polyfill 25,848
3 request 25,672
4 superagent 16,614
5 Hapi 14,697
6 http-proxy 14,070
7 http-server 13,869
8 Nock 12,901
9 node-fetch 8,834
10 isomorphic-fetch 6,948
11 undici 6,711
12 jsdelivr 5,837
13 Primus 4,471
14 http-decision-diagram 3,661
15 spdy 2,806
16 broken-link-checker 2,006
17 hyper-express 1,911
18 cross-fetch 1,680
19 find-my-way 1,538
20 download 1,293
21 Meteor-Files 1,114
22 just-api 819
23 homebridge-camera-ui 678

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?