Utility types for functional TypeScript
npm install @swan-io/boxed


> 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.
- Provide utility types that make data-manipulation and storage easier
- Immutable (all provided types are)
- Give a good development experience (chaining API, reliable types)
- Simple interoperability (you can convert back and forth to JS native types)
- Compatibility with ts-pattern (using patterns we provide).
- Option
- Result
- Future
- AsyncData
- Lazy
- Some utils like Deferred, Dict & Array
``bash``
$ yarn add @swan-io/boxed--- or ---
$ npm install --save @swan-io/boxed
- 📘 Documentation
- ⚖️ License