@jclem/toolbox
v0.0.3
Published
A collection of utilities for TypeScript. This library provides robust types and helpers for working with optional values, error handling, and functional patterns.
Readme
Toolbox
A collection of utilities for TypeScript. This library provides robust types and helpers for working with optional values, error handling, and functional patterns.
Modules Overview
Function
Helpers for working with functions.
Tagged
Utility for creating tagged union types, used throughout the library.
Core Types
Option
Implements the Option type for optional values.
Either
Implements the Either type for values that can be one of two types.
Result
Implements the Result type for success or failure.
Testing
Comprehensive tests are provided for all modules. Run with:
bun test