typescript-compare

JSON →
library 0.0.2 ·javascript
verified May 27, 2026

Typescript-compare is a utility library providing TypeScript generic types for comparing types at compile time. Version 0.0.2 offers type-level comparison operators (e.g., eq, lt, gt) and helpers like compare and strictEqual. It enables conditional types based on type equality, ordering, and more, useful for building complex type functions. The library is lightweight, with no runtime dependencies, and is intended for advanced TypeScript type programming. It is released on an as-needed cadence.

total hits 25
actors 7 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
Amazonbot
4
MetaBot
4
Script
1
Search engines
1
Humans
6

top countries 🇺🇸 United States · VN · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany