https://github.com/patrickap/moneo-ts
Monad library for TypeScript. 🚀
https://github.com/patrickap/moneo-ts
adt async either fp functional io monad option pure typescript
Last synced: 4 months ago
JSON representation
Monad library for TypeScript. 🚀
- Host: GitHub
- URL: https://github.com/patrickap/moneo-ts
- Owner: patrickap
- License: mit
- Created: 2021-07-02T21:33:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-11-19T22:38:30.000Z (7 months ago)
- Last Synced: 2025-12-31T03:03:30.022Z (6 months ago)
- Topics: adt, async, either, fp, functional, io, monad, option, pure, typescript
- Language: TypeScript
- Homepage:
- Size: 753 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# moneo-ts
A small, simple, but powerful library for functional programming written in TypeScript. It was designed to be extremely lightweight, easy to learn and use.
This library includes a set of powerful tools to write predictable, immutable, and safe code that is easy to reason about. This is especially useful when dealing with complex data structures, async code, or error handling.
## Contents
- [Option](docs/option.md) monad
- [Either](docs/either.md) monad
- [IO](docs/io.md) monad
## Installation
To use `moneo-ts`, install the package via npm.
```shell
npm install moneo-ts
# or install a specific version
npm install moneo-ts@x.x.x
```