undici
v7.21.0 MITAn HTTP/1.1 client, written from scratch for Node.js
Download Trends
undici
AI Insights
Undici is an HTTP/1.1 client created from scratch specifically for Node.js, offering high performance and a modern API. Developers leverage it for its efficient handling of HTTP requests and responses, making it suitable for both simple and complex applications.
When to use
- When you need a high-performance HTTP client for Node.js.
- When working with applications that require a lightweight library (1.5 MB unpacked).
- When you want an actively maintained package with significant community support (7.4K stars on GitHub).
When NOT to use
- If you need HTTP/2 or HTTP/3 support, as Undici focuses on HTTP/1.1 only.
- When your project relies on specific features from other HTTP clients that are not supported.
- If you're looking for a package with no known issues, as there are currently 328 open issues.