0.0.8 • Published 8 months ago

ts-prelude v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

ts-prelude

CI

Currently a collection of functional datatypes that I use on every project and will eventually expand further into a standard lib of fp utils / algebraic-data-types.

ADTs currently available:

  • Maybe
  • Result
  • IO
  • AsyncData
  • AsyncResult
  • Ref

Utils:

  • match (pattern matching)
  • TaggedUnion (builds discriminatred unions aka ADTs)
  • Nominal (construct nominal datatypes)
  • Phantom (constuct phantom datatypes)
  • Function
  • Property (sugar for a nicer property based test definition)
  • Refined (a library to build refined types)

Inspiration for above:

0.0.8

8 months ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago