0.2.1 • Published 6 years ago

burk v0.2.1

Weekly downloads
15
License
-
Repository
-
Last release
6 years ago

Burk

Union types in JS

Some similar packages are https://github.com/fantasyland/daggy and https://github.com/paldepind/union-type.

Why did I create this?

We used both daggy and union-type at work and had problems with serializing the types and saving them in local storage. This package only uses plain js objects that can easily be serialized and instead of adding methods to the prototype it's only using pure functions.

Usage

Have a look inside `src/example.js`
0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago