JSPM

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

🔧 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.

Package Exports

  • @mobily/ts-belt

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mobily/ts-belt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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 solves the problem of the existence of both undefined and null. TS Belt is inspired by the Belt module for 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