nodejs-httpp
undici
Our great sponsors
nodejs-httpp | undici | |
---|---|---|
1 | 18 | |
145 | 5,750 | |
0.7% | 3.1% | |
0.0 | 9.8 | |
about 2 months ago | 3 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nodejs-httpp
-
How would I stream strings of data from one AWS instance to another?
Maybe you want to use UDP. However, HTTP is typically TCP but I did find this https://github.com/InstantWebP2P/nodejs-httpp
undici
-
When LIMIT 9 works but LIMIT 10 hangs: A short debugging story
Yeah: interestingly, they had a test for the biggest category of frame, but not for the two other categories: https://github.com/nodejs/undici/blob/main/test/websocket/se...
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.
-
Is native fetch in v18 faster than dedicated libraries?
The native fetch in Node.js 18 is based on undici.
-
Quickest/fastest http package
Sadly, Undici's slow. Reference issue.
-
Are all fetch API's for Nodejs inefficient in terms of latency ? Cant go lower than 4ms on localhost
Did you try just using the http lib, or even axios/node-fetch? The fetch API in node is very new and looks like there have been concerns about its performance: https://github.com/nodejs/undici/issues/1203
-
I made an Express-like framework for IPC communication
A library that can be handy is Undici - a great HTTP/1.1 client, see here where they apparently added unix:// support: https://github.com/nodejs/undici/pull/226
-
Pull Congressional Data via SMS with the Congress API and JavaScript
Afterwards, create your new project and install our lone requirement [undici](https://github.com/nodejs/undici) to make HTTP requests in Node.js by running:
-
Node JS 18.12.0 goes LTS
Test coverage currently sits at 89%, hopefully will be stable soon.
-
Animal Crossing Simulator Discord Bot
undici
-
Fetch API has finally landed Node v18.0
We implemented fetch API operation with Node without the need for any library imports. The thing to note that under the hood that the fetch implementation is done based on another HTTP client, undici, which is actually a HTTP client written specifically for Node.js. It is an HTTP 1.1 only client.
-
Deno 1.20
> ...enough insights of how much better/faster Deno is
We moved our Deno project to Node because of lack of lower-level APIs on their Conn interfaces [0][1], but otherwise for our use-case (lots of tiny HTTPS connections) Deno absolutely blew Node out-of-the-water. Even at p50 (100tps) Deno (v1.18) was 10x faster than Node (v17.x) [2]
RAM wise, I found Deno (v1.18+) use 10M or so higher for the same code-base.
[0] https://github.com/denoland/deno/issues/13636
[1] https://github.com/denoland/deno/issues/9109
[2] https://github.com/nodejs/undici/issues/1203#issuecomment-10...
What are some alternatives?
node-fetch - A light-weight module that brings the Fetch API to Node.js
axios - Promise based HTTP client for the browser and node.js
web3.storage - DEPRECATED ⁂ The simple file storage service for IPFS & Filecoin
got - 🌐 Human-friendly and powerful HTTP request library for Node.js
request - 🏊🏾 Simplified HTTP request client.
Nock - HTTP server mocking and expectations library for Node.js
undici-fetch - A WHATWG Fetch implementation based on @nodejs/undici
js-libp2p - The JavaScript Implementation of libp2p networking stack.
fastify-http-proxy - Proxy your http requests to another server, with hooks.