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 →
Top 23 JavaScript HTTP Projects
-
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.
-
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.
-
-
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.
-
superagent
Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
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.
-
hapi
-
-
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
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
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.
-
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.
-
-
Project mention: Show HN: Hyperbrowser MCP Server – Connect AI agents to the web through browsers | news.ycombinator.com | 2025-03-20
-
-
Primus
:zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
-
http-decision-diagram
An activity diagram to describe the resolution of HTTP response status codes, given various headers.
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
-
-
-
hyper-express
High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.
-
-
-
-
Meteor-Files
🚀 Upload files via DDP or HTTP to ☄️ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.
📁 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.
-
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.
-
homebridge-camera-ui
Homebridge plugin for RTSP Cameras with HSV, motion detection support, Image Rekognition, Web UI to manage/watch streams and WebApp support
-
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.
JavaScript HTTP discussion
JavaScript HTTP related posts
-
React's useEffect vs. useSWR: Exploring Data Fetching in React.
-
My Type of Library: Axios TypeScript Conversion
-
Is Modern Web Dev Too Complex for Newcomers?
-
How To Fetch Data From API In React JS Axios
-
The Fetch API is finally stable in Node.js
-
Show HN: Hyperbrowser MCP Server – Connect AI agents to the web through browsers
-
How To Use React JS In a Laravel Project
-
A note from our sponsor - Civic Auth
www.civic.com | 25 Apr 2025
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 |