Skip to content

erikjuhani/fp-utils

Repository files navigation

fp-utils  

Functional utility library for TypeScript    

Background

I have been exploring ways to represent Option and Result types in TypeScript that would be intuitive to use and have idiomatic functionality, similar to how promises and arrays are constructed and chained. This is the result of these explorations—think of it as lodash, but with minimalistic utilities for functional programming.

Fair warning, even though these concepts can be used without much knowledge about functional programming. I wholeheartedly recommend to understand the basics of functional programming before using these utilities.

Modules