All Projects β†’ patrickmichalina β†’ typescript-monads

patrickmichalina / typescript-monads

Licence: MIT License
πŸ“šWrite safer TypeScript using Maybe, List, Result, and Either monads.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to typescript-monads

php-slang
The place where PHP meets Functional Programming
Stars: ✭ 107 (+13.83%)
Mutual labels:  immutability, either-monad
SqlFun
Idiomatic data access for F#
Stars: ✭ 33 (-64.89%)
Mutual labels:  reader-monad
react-mlyn
react bindings to mlyn
Stars: ✭ 19 (-79.79%)
Mutual labels:  immutability
meiga
πŸ§™ A simple, typed and monad-based Result type for Python.
Stars: ✭ 24 (-74.47%)
Mutual labels:  monads
Immutype
Immutability is easy!
Stars: ✭ 26 (-72.34%)
Mutual labels:  immutability
flutter built redux
Built_redux provider for Flutter.
Stars: ✭ 81 (-13.83%)
Mutual labels:  immutability
fp-ts-cheatsheet
FP-TS Cheat Sheet
Stars: ✭ 276 (+193.62%)
Mutual labels:  monads
Forbind
Functional chaining and promises in Swift
Stars: ✭ 44 (-53.19%)
Mutual labels:  monads
http4s-tracer
πŸ“Š End-to-end tracing system for Http4s
Stars: ✭ 112 (+19.15%)
Mutual labels:  reader-monad
dry-matcher
Flexible, expressive pattern matching for Ruby
Stars: ✭ 91 (-3.19%)
Mutual labels:  monads
freestyle-cassandra
Freestyle Cassandra
Stars: ✭ 17 (-81.91%)
Mutual labels:  monads
functional-js
Functional Programming in JavaScript
Stars: ✭ 18 (-80.85%)
Mutual labels:  immutability
mutation-sentinel
Deeply detect object mutations at runtime
Stars: ✭ 31 (-67.02%)
Mutual labels:  immutability
operators-service
Service Object based on Either Monad
Stars: ✭ 27 (-71.28%)
Mutual labels:  monads
immudb4j
Java SDK for immudb
Stars: ✭ 23 (-75.53%)
Mutual labels:  immutability
ftor
ftor enables ML-like type-directed, functional programming with Javascript including reasonable debugging.
Stars: ✭ 44 (-53.19%)
Mutual labels:  immutability
devonfw4flutter-mts-app
Large-Scale Flutter Reference Application. An Extension of DevonFw's My Thai Star Project
Stars: ✭ 54 (-42.55%)
Mutual labels:  immutability
declarative-form-generator
A simple react form generator using functional programming concepts
Stars: ✭ 14 (-85.11%)
Mutual labels:  monads
Narvalo.NET
Applied functional patterns for C#. Money and Currency types. MVP framework. (Obsolete)
Stars: ✭ 16 (-82.98%)
Mutual labels:  monads
fpEs
Functional Programming for EcmaScript(Javascript)
Stars: ✭ 40 (-57.45%)
Mutual labels:  monads

πŸ“š typescript-monads

Better TypeScript Control Flow

circeci codeclimate

semantic-release npm latest version

typescript-monads helps you write safer code by using abstractions over messy control flow and state.

Installation

You can use this library in the browser, node, or a bundler

Node or as a module

npm install typescript-monads

Browser

<head>
 <script src="https://unpkg.com/typescript-monads"></script>
 <!-- or use a specific version to avoid a http redirect --> 
 <script src="https://unpkg.com/[email protected]/index.min.js"></script>
</head>
var someRemoteValue;
typescriptMonads.maybe(someRemoteValue).tapSome(console.log)

Example Usage

Maybe

TODO

List

TODO

Either

TODO

Reader

TODO

Result

TODO

State

TODO

Logger

TODO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].