A simple library with the core of Functional Programming for TS. See more in the documentation at chiquezi.com/libraries/functional-ts
Note: So far I have only build the pipe functions. I am building as far I need in my projects
For now I just built up pipe functions:
// Install
yarn add @fabiochiquezi/functional-ts or npm install @fabiochiquezi/functional-ts
// Usage
import * as fns from '@fabiochiquezi/functional-ts'
import { asyncPipe } from '@fabiochiquezi/functional-ts'
const sum1 = async (num) = await num + 1
const sum2 = async (num) = await num + 2
const sum3 = async (num) = await num + 3
asyncPipe(0, sum1, sum2, sum3) // 6