typelab

JSON →
library 1.0.1 ·javascript
verified Jun 4, 2026

typelab v1.0.1 is a zero-dependency TypeScript library providing a suite of reusable, type-level utility types for everyday TypeScript development. Released under MIT license with active maintenance, it offers aliases (Primitive, Nullable), assertions (IsExtends, IsEqual, IsAny), conditional types (IfExtends, IfEqual, IfAny), and utility types (FunctionCallbackify, FunctionPromisify, ObjectAssign). Unlike similar libraries like type-fest or utility-types, typelab focuses purely on type-level operations with no runtime code, making it lightweight for dev dependencies. The package is ESM and CommonJS compatible, ships with TypeScript definitions, and has a simple, documented API.