TS Belt is a library for functional programming in TypeScript. It solves the problem of the existence of both undefined
and null
. TS Belt is inspired by the Belt module for ReScript/Reason.
- lightweight, no dependencies
- type safety, full TypeScript support
- high tests coverage
- all functions are curried
- get rid of
undefined
andnull
values in your project in a convenient, functional way (use eitherOption
orResult
)
yarn add @mobily/ts-belt
or with npm
npm install @mobily/ts-belt --save
Full documentation is available here.
Marcin Dziewulski ๐ป ๐ |
The MIT License.
See LICENSE