Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more! Learn more →
Top 23 JavaScript HTTP Projects
-
Project mention: Develop a Cryptocurrency Tracking WebApp with Instant Email Notifications | dev.to | 2023-01-18
Next, we add our dependencies. We want the server to run on Express(https://expressjs.com/) so we will add that and also the Courier Javascript client, the Supabase Javascript client and axios.
-
// https://www.npmjs.com/package/request const request = require('request') /* --- */ request( 'https://example.com', function ( error, response, body ) { /* Print the error if one occurred */ console.error( `error: ${error}` ) /* Print the response status code if a response was received */ console.log( 'statusCode:', response && response.statusCode) /* Print the HTML for the example homepage */ console.log( `body: ${body}` ) } )
-
Klotho
AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)
-
In this case, Github offers a great fetch polyfill for browsers: https://github.com/github/fetch
-
superagent
Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
You’re putting together an npm library that involves fetching data. There are many popular packages that can help you (axios, superagent, etc.) but in the spirit of not shipping bulky/redundant JS code to the browser, and the progress which browsers and JavaScript has made over the years, you try to use the platform whenever possible.
-
Hapi.js is one of the best Node.js web framework, which is used for developing application program interfaces. Thanks to a strong plugin system Hapi.js, you can fully manage the development process. Hapi.js motivates the developer to focus on the reuse logic instead of spending time building the infrastructure.
-
Project mention: Is there a way to accept incoming http but outgoing must be https? | reddit.com/r/node | 2022-12-13
Take a look at https://github.com/http-party/node-http-proxy , specifically their .web() helper
-
Let’s go ahead and setup our http-server, for this we will be using http-server npm package to help us with this, this is useful for static sites where we do not want to setup a node server manually.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Project mention: How do you practice with React without setting up your own backend? | reddit.com/r/reactjs | 2022-12-03
-
node-fetch - NodeFetch is used to fetch the CV document.
-
You don't need to install extra isomorphic-fetch into your Storyblok & Gatsby applications.
-
-
Sadly, Undici's slow. Reference issue.
-
Primus
:zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
-
Project mention: Integration testing best practices for API servers... | reddit.com/r/golang | 2022-12-05
If you want to make sure the server implements a certain contract like there's an handler responding to a GET request to /API/what/ever I'd rather use something else. To be completely honest this is a topic I'm currently also searching for a really good solution but what I found so far (and looks promising) is https://dredd.org/ or https://microcks.io/ Both support OpenAPI testing so you can specify the contract as an OpenAPI spec and validate your server against it.
-
http-decision-diagram
An activity diagram to describe the resolution of HTTP response status codes, given various headers.
I wish more people knew about this: https://github.com/for-GET/http-decision-diagram and https://github.com/for-GET/know-your-http-well
-
Project mention: between http2-express-bridge and spdy (http2 with ssl) | reddit.com/r/expressjs | 2022-09-19
-
-
Project mention: How do I filter downloadable products that return 404 because the linked file does not exist? | reddit.com/r/Wordpress | 2022-04-16
You can also try one of these: * https://github.com/stevenvachon/broken-link-checker * https://github.com/linkchecker/linkchecker
-
-
-
-
First, let’s read the cookie with hooks. This handle() function runs every time SvelteKit receives a request. We’ll use the cookie package to make cookie-parsing easier.
-
Meteor-Files
🚀 Upload files via DDP or HTTP to ☄️ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
JavaScript HTTP related posts
- Turn CV to structured data with GPT-3 and Node.js
- Storyblok Gatsby SDK is free from axios✨
- Let's build: DaisyUI and Tailwind CSS dashboard - part 1
- How to hide your API keys and tokens in React to protect your application
- Safe Data Fetching in Modern JavaScript
- My First Server and REST API: Essentials for Frontenders
- Quickest/fastest http package
-
A note from our sponsor - Appwrite
appwrite.io | 28 Jan 2023
Index
What are some of the best open-source HTTP projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | axios | 98,447 |
2 | request | 25,594 |
3 | window.fetch polyfill | 25,580 |
4 | superagent | 16,231 |
5 | Hapi | 14,149 |
6 | http-proxy | 13,175 |
7 | http-server | 12,431 |
8 | Nock | 11,950 |
9 | node-fetch | 8,104 |
10 | isomorphic-fetch | 6,930 |
11 | jsdelivr | 4,738 |
12 | undici | 4,482 |
13 | Primus | 4,387 |
14 | dredd | 3,958 |
15 | http-decision-diagram | 3,418 |
16 | spdy | 2,780 |
17 | http.cat | 2,065 |
18 | broken-link-checker | 1,672 |
19 | cross-fetch | 1,481 |
20 | find-my-way | 1,227 |
21 | download | 1,221 |
22 | cookie | 1,110 |
23 | Meteor-Files | 1,088 |