JSPM

  • Created
  • Published
  • Downloads 87102
  • Score
    100M100P100Q173918F
  • License MIT

🔧 TS Belt is a library for functional programming in TypeScript. It implements Result and Option monads and other various helpers. Based on Belt and Relude (ReScript/Reason).

Package Exports

  • @mobily/ts-belt
  • @mobily/ts-belt/package.json

Readme

🔧 TS Belt · Build Status Coverage npm PRs Welcome All Contributors GitHub license

TS Belt

TS Belt is a library for functional programming in TypeScript. It implements Result and Option monads and other various helpers. Based on Belt and Relude (ReScript/Reason).

Features

  • lightweight, no dependencies
  • type safety, full TypeScript support
  • high tests coverage
  • all functions are curried
  • get rid of undefined and null values in your project in a convenient, functional way (use either Option or Result)

Installation

yarn add @mobily/ts-belt

or with npm

npm install @mobily/ts-belt --save

Api Reference

Full documentation is available here.

Contributors

Marcin Dziewulski
Marcin Dziewulski

💻 📖

License

The MIT License.

See LICENSE