</>PackageGraphPackageGraph

type-fest

npmv5.9.0TypeScript

A collection of essential TypeScript types

Safe to adopt

Yes — type-fest scores well across adoption, maintenance, weight, supply chain, and licensing. 385.6M downloads per week and 6 known dependents. Last published 10 days ago. 39 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    385.6M downloads per week and 6 known dependents.

  • AMaintenance: grade A, Excellent.

    Last published 10 days ago. 39 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 563 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    (MIT OR CC0-1.0) — 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 type-fest to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

563 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing type-fest, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=20
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the type-fest README.

import type {Except} from 'type-fest';

type Foo = {
	unicorn: string;
	rainbow: boolean;
};

type FooWithoutRainbow = Except<Foo, 'rainbow'>;
//=> {unicorn: string}

type-fest vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
type-festthis page385.6M6(MIT OR CC0-1.0)10 days ago
json-schema-typed01BSD-2-Clause6 days ago
csstype160.9M2MIT5 days ago
ts-node49.4M38MIT6 days ago
meow42.8M1MIT5 days ago
drizzle-orm20.3M0Apache-2.06 days ago

Dependencies

Declared by type-fest v5.9.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (13)

@eslint/markdown ^8.0.1@sindresorhus/tsconfig ^8.0.1@types/node ^25.5.0@typescript-eslint/parser ^8.44.0@typescript/vfs ^1.6.1dedent ^1.7.0eslint ^10.1.0expect-type ^1.2.2npm-run-all2 ^8.0.4tsd ^0.33.0typescript ^5.9.2typescript-eslint ^8.47.0xo ^2.0.2

Used by

Popular packages that depend on type-fest.

Relationship graph

Dependencies (left) and dependents (right) of type-fest.

Frequently installed together

Release history

34 releases in the last two years, typically about 21 days apart.

Recent versions of type-fest
VersionPublishedSizeLicense
5.9.0latest10 days ago561 KB(MIT OR CC0-1.0)
5.8.02 months ago556 KB(MIT OR CC0-1.0)
5.7.03 months ago546 KB(MIT OR CC0-1.0)
5.6.04 months ago538 KB(MIT OR CC0-1.0)
5.5.05 months ago527 KB(MIT OR CC0-1.0)
5.4.47 months ago512 KB(MIT OR CC0-1.0)
5.4.37 months ago512 KB(MIT OR CC0-1.0)
5.4.27 months ago513 KB(MIT OR CC0-1.0)
5.4.17 months ago512 KB(MIT OR CC0-1.0)
5.4.08 months ago512 KB(MIT OR CC0-1.0)
5.3.19 months ago499 KB(MIT OR CC0-1.0)
5.3.09 months ago499 KB(MIT OR CC0-1.0)
5.2.010 months ago495 KB(MIT OR CC0-1.0)
5.1.011 months ago486 KB(MIT OR CC0-1.0)
5.0.111 months ago471 KB(MIT OR CC0-1.0)

Overview

type-fest is an npm package that a collection of essential TypeScript types. It is extremely widely used, with about 385.6M downloads per week and 6 known dependents in the graph. The latest version is 5.9.0, released under the (MIT OR CC0-1.0) license.

Who should use it

Teams working in the npm ecosystem who need a collection of essential TypeScript types 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 (385.6M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license ((MIT OR CC0-1.0)).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use type-fest?

Yes — type-fest scores well across adoption, maintenance, weight, supply chain, and licensing. 385.6M downloads per week and 6 known dependents. Last published 10 days ago. 39 releases in the last 2 years.

How do I install type-fest?

Run `npm install type-fest` to add type-fest to your npm project.

How many dependencies does type-fest have?

type-fest declares 14 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 563 KB on disk.

What license is type-fest released under?

type-fest is distributed under the (MIT OR CC0-1.0) license.

How popular is type-fest?

type-fest has approximately 385,587,178 downloads per week and 6 known dependent packages.

Is type-fest still maintained?

The most recent release of type-fest (v5.9.0) was published 10 days ago.

Does type-fest run install scripts?

No. type-fest does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.