Essential building-blocks for functional & safe TypeScript code
Boxed provides essential building-blocks (in the form of types and functions) so that you can write functional, safe TypeScript code.
ts-pattern
(using patterns
we provide).Option<Value>
Result<Ok, Error>
Future<Value>
AsyncData<Value>
Lazy<Value>
Deferred
, Dict
& Array
$ yarn add @swan-io/boxed
# --- or ---
$ npm install --save @swan-io/boxed