undici-types
npmv8.10.2TypeScriptA stand-alone types package for Undici
Safe to adopt
Yes — undici-types scores well across adoption, maintenance, weight, supply chain, and licensing. 284M downloads per week and 3 known dependents. Last published 5 days ago. 50 releases in the last 2 years.
- AAdoption: grade A, Excellent.
284M downloads per week and 3 known dependents.
- AMaintenance: grade A, Excellent.
Last published 5 days ago. 50 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 120 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding undici-types to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Used by
Popular packages that depend on undici-types.
TypeScript definitions for node
A simple common HTTP client specifically for Google APIs and services.
A Node.js fetch shim using built-in Request, Response, and Headers (but without native fetch)
Relationship graph
Dependencies (left) and dependents (right) of undici-types.
Frequently installed together
TypeScript definitions for node
An HTTP(s) proxy `http.Agent` implementation for HTTPS
A light-weight module that brings Fetch API to node.js
Fast, unopinionated, minimalist web framework
Node.js CORS middleware
Port of jQuery.extend for node.js and the browser
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
TypeScript definitions for cors
Check if the process is running inside a Docker container
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
Release history
50 releases in the last two years, typically about 2 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 6.28.1 | 5 days ago | 83 KB | MIT |
| 7.29.1 | 5 days ago | 116 KB | MIT |
| 8.10.2latest | 5 days ago | 120 KB | MIT |
| 8.10.1 | 9 days ago | 120 KB | MIT |
| 8.10.0 | 1 month ago | 119 KB | MIT |
| 6.28.0 | 1 month ago | 83 KB | MIT |
| 7.29.0 | 1 month ago | 116 KB | MIT |
| 8.9.0 | 1 month ago | 118 KB | MIT |
| 8.8.0 | 1 month ago | 118 KB | MIT |
| 8.7.0 | 2 months ago | 117 KB | MIT |
| 8.6.0 | 2 months ago | 117 KB | MIT |
| 6.27.0 | 2 months ago | 83 KB | MIT |
| 7.28.0 | 2 months ago | 116 KB | MIT |
| 8.5.0 | 2 months ago | 116 KB | MIT |
| 8.4.1 | 3 months ago | 116 KB | MIT |
Overview
undici-types is an npm package that a stand-alone types package for Undici. It is extremely widely used, with about 284M downloads per week and 3 known dependents in the graph. The latest version is 8.10.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a stand-alone types package for Undici and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (284M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Zero runtime dependencies — minimal footprint.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use undici-types?
Yes — undici-types scores well across adoption, maintenance, weight, supply chain, and licensing. 284M downloads per week and 3 known dependents. Last published 5 days ago. 50 releases in the last 2 years.
How do I install undici-types?
Run `npm install undici-types` to add undici-types to your npm project.
What license is undici-types released under?
undici-types is distributed under the MIT license.
How popular is undici-types?
undici-types has approximately 283,958,317 downloads per week and 3 known dependent packages.
Is undici-types still maintained?
The most recent release of undici-types (v8.10.2) was published 5 days ago.
Does undici-types run install scripts?
No. undici-types does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.