clipanion
llhttp
Our great sponsors
clipanion | llhttp | |
---|---|---|
6 | 7 | |
1,044 | 1,588 | |
- | 1.8% | |
5.5 | 8.7 | |
29 days ago | 4 days ago | |
TypeScript | TypeScript | |
- | GNU General Public License v3.0 or later |
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.
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!
llhttp
-
Notes: Advanced Node.js Concepts by Stephen Grider
In the source code of the Node.js opensource project, lib folder contains JavaScript code, mostly wrappers over C++ and function definitions. On the contrary, src folder contains C++ implementations of the functions, which pulls dependencies from the V8 project, the libuv project, the zlib project, the llhttp project, and many more - which are all placed at the deps folder.
-
Rest server for embedded system
Some useful libraries include nghttp2 for HTTP/2 and llhttp for HTTP/1.1. Both are network stack and TLS implementation agnostic.
-
Does nodejs intercept http request natively or does it use something to understand http request like wsgi in python ?
There is a HTTP parser directly bundled in node (https://github.com/nodejs/llhttp)
-
Fetch API has landed into Node.js
Those wasm blobs are Node's own llhttp https://github.com/nodejs/llhttp in wasm to speed up HTTP parsing.
The question is totally legitimate but please assume core doesn't make "load random binary" level kind of goofs :)
-
Book recommendations for Backend development concepts for a beginner
For HTTP, you have to look at HTTP parser. For example, https://github.com/nodejs/llhttp is used in NodeJS.
-
The history and reasons behind CORS, and how to use it
Whoa, I didn't know that! But yeah, it seems like https://github.com/nodejs/http-parser is based on nginx. It now uses https://github.com/nodejs/llhttp but has some of the same legacy.
On the other hand, deno's HTTP stuff is built on top of Hyper, a Rust library https://github.com/hyperium/hyper
-
Show HN: Micro HTTP server in 22 lines of C
No, parsing HTTP/1.x is a nightmare and definitely not simple. It wasn't even particularly well defined until 2014 when the original RFCs were modernized, and even now there are bugs reported in HTTP parsers all the time.
Node.js came out in 2009, a full ten years after HTTP/1.1 (RFC 2068) and it's original http-parser is full-on spaghetti code, doesn't conform to the RFCs for performance reasons, and is considered unmaintainable by the author of it's replacement[0]
[0] https://github.com/nodejs/llhttp
What are some alternatives?
Commander.js - node.js command-line interfaces made easy
HTTP Parser - http request/response parser for c
set-cookie-parser - Parse HTTP set-cookie headers in JavaScript
http-proxy - A full-featured http proxy for node.js
undici - An HTTP/1.1 client, written from scratch for Node.js
ioccc - My IOCCC submissions and practice.
effector-react - Business logic with ease ☄️
ultra - An ultra-small, ultra-fast, web server.
gists - A repo for Backblaze gists used in our FAQ
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
leon-cli - ⌨️ Command-line interface (CLI) for a better use of Leon, your open-source personal assistant. GNU/Linux, macOS and Windows supported.
fetch - Fetch Standard