undici
clipanion
Our great sponsors
undici | clipanion | |
---|---|---|
18 | 6 | |
5,728 | 1,044 | |
2.7% | - | |
9.8 | 5.5 | |
4 days ago | 25 days ago | |
JavaScript | TypeScript | |
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.
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...
clipanion
-
The Landscape of npm Packages for CLI Apps
I maintain Clipanion, which we use in Yarn. I think you'll like it a lot if you work with TypeScript - it doesn't just has types, it also lets you strongly type your application - without any code duplication.
-
Sharing Our Journey Developing the Leon CLI
Let us introduce another alternative: Clipanion, a type-safe CLI library with no runtime dependencies, made with TypeScript.
- Fetch API has landed into Node.js
- Clipanion: Type-safe CLI library
-
Yarn 3.0 🚀🤖 Performances, ESBuild, Better Patches, ...
Yarn supports writing plugins that can inject themselves into various places and leverage some of the builtin modules provided by the core. While we didn't get the chance to make all the improvements we hoped, we've still been able to upgrade the command line framework to Clipanion 3, which lets you write intuitive type-checked commands with a minimal syntactic overhead.
-
The complexity that lives in the GUI
Hi me! 👋 I agree 100% All hail Clipanion!
What are some alternatives?
axios - Promise based HTTP client for the browser and node.js
Commander.js - node.js command-line interfaces made easy
node-fetch - A light-weight module that brings the Fetch API to Node.js
set-cookie-parser - Parse HTTP set-cookie headers in JavaScript
got - 🌐 Human-friendly and powerful HTTP request library for Node.js
effector-react - Business logic with ease ☄️
request - 🏊🏾 Simplified HTTP request client.
gists - A repo for Backblaze gists used in our FAQ
undici-fetch - A WHATWG Fetch implementation based on @nodejs/undici
leon-cli - ⌨️ Command-line interface (CLI) for a better use of Leon, your open-source personal assistant. GNU/Linux, macOS and Windows supported.
fastify-http-proxy - Proxy your http requests to another server, with hooks.
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.