@@ -6,7 +6,7 @@ titleTemplate: Universal TypeScript Type Utilities
66hero :
77 name : uni-types
88 text : TypeScript Type Utilities
9- tagline : A comprehensive collection of type helpers for TypeScript development - 50+ utility types for safer, cleaner code
9+ tagline : A comprehensive collection of 400+ type utilities for TypeScript development - safer, cleaner, more expressive code
1010 image :
1111 src : /logo.svg
1212 alt : uni-types
2424features :
2525 - icon : 🎯
2626 title : Comprehensive
27- details : 50 + utility types covering core operations, deep transformations, type guards, inference , and more.
27+ details : 400 + utility types covering core operations, deep transformations, type guards, algorithms, parsers, state machines , and more.
2828 - icon : 🔒
2929 title : Type Safe
3030 details : Full TypeScript support with complete type definitions. Catch errors at compile time.
@@ -34,18 +34,27 @@ features:
3434 - icon : 📦
3535 title : Tree-shakable
3636 details : Import only the types you need. Works perfectly with bundlers.
37+ - icon : 🧮
38+ title : Type-Level Algorithms
39+ details : Sort, QuickSort, MergeSort, GCD, LCM, Factorial, Fibonacci, and more implemented at type level.
3740 - icon : 🔄
3841 title : Deep Operations
39- details : DeepPartial, DeepRequired, DeepReadonly, DeepMutable for nested object transformations .
42+ details : DeepPartial, DeepRequired, DeepReadonly, DeepMutable, DeepOmit, DeepPick for nested objects .
4043 - icon : 🛠️
4144 title : Type Guards
4245 details : IsArray, IsTuple, IsEqual, IsAny, IsNever, IsUnknown for type checking.
46+ - icon : 🗃️
47+ title : Data Structures
48+ details : Tree, Graph, LinkedList, Stack, Queue types for modeling complex data.
49+ - icon : 🔌
50+ title : Schema Integration
51+ details : Built-in support for Zod and Yup schema type extraction and manipulation.
4352---
4453
4554## Quick Example
4655
4756``` typescript
48- import type { PickRequired , DeepPartial , IsArray } from ' uni-types'
57+ import type { PickRequired , DeepPartial , Sort , IsArray } from ' uni-types'
4958
5059// Make specific properties required
5160interface User {
@@ -68,6 +77,9 @@ interface Config {
6877type PartialConfig = DeepPartial <Config >
6978// { database?: { host?: string; port?: number } }
7079
80+ // Type-level sorting algorithm
81+ type Sorted = Sort <[3 , 1 , 4 , 1 , 5 ]> // [1, 1, 3, 4, 5]
82+
7183// Type guards for conditional logic
7284type Check = IsArray <string []> // true
7385` ` `
0 commit comments