API
129 exports, one file each. Press Ctrl K to search by name or by need.
| Category | Exports | Content |
|---|---|---|
| Async | 1 | Async: waiting, cancellable with an abort signal. |
| Colors | 3 | Colors: the fill of an SVG element, and the black or white text that reads best on it. |
| Durations | 1 | Durations: parsing a .NET TimeSpan into milliseconds. |
| Enums | 9 | Enums: listing members, checking and reading untyped values, literal types. |
| Formatting | 2 | Formatting: numbers as display text. |
| Guards | 17 | Guards: type guards and assertions that narrow values (the enum guards are in enum). |
| Math | 18 | Math: clamping, interpolation, wrapping, rounding without float noise, smoothing. |
| Objects | 7 | Objects: picking, omitting, mapping values, emptiness and equality. |
| Paths | 1 | Paths: joining URL segments. |
| Strings | 27 | Strings: case conversion, word splitting, truncation, escaping, templating, number extraction. |
| SVG shapes | 8 | SVG shapes: the d of arcs, ticks and pies around an element, and of ranges and ticks along a bar, in any group. |
| SVG transforms | 12 | SVG transforms: orders applied one after the other and changed later, and anchors across groups. |
| Types | 23 | Types: TypeScript utility types. |