2.3.0 • Published 11 days ago

@swan-io/boxed v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

@swan-io/boxed

mit licence npm version bundlephobia

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.

Design principles

  • 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).

What's in the box?

  • Option<Value>
  • Result<Ok, Error>
  • Future<Value>
  • AsyncData<Value>
  • Lazy<Value>
  • Some utils like Deferred, Dict & Array

Installation

$ yarn add @swan-io/boxed
# --- or ---
$ npm install --save @swan-io/boxed

Links

2.3.0

11 days ago

2.2.1

21 days ago

2.2.0

21 days ago

2.1.1

2 months ago

2.1.0

2 months ago

2.1.0-beta

2 months ago

2.0.1

3 months ago

2.0.0

5 months ago

1.2.0

8 months ago

1.1.0

9 months ago

1.0.2

12 months ago

1.0.1

1 year ago

1.0.0

1 year ago

0.13.0

1 year ago

0.12.1

1 year ago

0.12.0

2 years ago

0.11.0

2 years ago

0.11.1

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.3.0

2 years ago

0.6.3

2 years ago

0.3.6

2 years ago

0.8.0

2 years ago

0.6.2

2 years ago

0.5.3

2 years ago

0.3.5

2 years ago

0.6.4

2 years ago

0.3.7

2 years ago

0.5.0

2 years ago

0.3.2

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.5.2

2 years ago

0.3.4

2 years ago

0.6.0

2 years ago

0.5.1

2 years ago

0.4.2

2 years ago

0.3.3

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago