A utility library providing generic types for manipulating TypeScript unions at the type level. Version 0.2.0 is current; the package is experimental and sees infrequent updates. Key differentiators: offers type transformations such as filtering and mapping union members without runtime code. Alternatives like type-fest or utility-types provide broader type utilities but may lack union-specific operations.
npm install typescript-unionVerified import paths — ran on the pinned version, not inferred.
Demonstrates Filter and UnionToIntersection type utilities for union transformations.
Consider alternatives like type-fest or ts-essentials.
Use import type syntax: import type { Filter } from 'typescript-union'.Replace deprecated aliases with the new names per changelog.
Install: npm install typescript-union --save-dev
Remove from runtime code or use import type.
No dependency data recorded yet.