rslike
monads
rslike | monads | |
---|---|---|
2 | 3 | |
8 | 706 | |
- | 2.1% | |
7.1 | 7.2 | |
28 days ago | 2 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rslike
-
RSLike@3. Well-known Symbols, Improved Usage of TypeScript, and Weighing More
To briefly recount the history of creating this marvel, while studying Rust, I saw the potential of these wrappers. And after being inspired, I decided to write such a marvel myself for JavaScript and use it in my projects (more on that later). Quite quickly, version 1 appeared, followed by a bunch of fixes (here), then version 2 emerged, introducing the cmp package and dbg. And only recently (April 10, 2024), version 3 for all packages saw the light of day: std, cmp, dbg.
-
It's done! Rust-like API in your JavaScript code
Full list available in Wiki: https://github.com/vitalics/rslike/wiki
monads
-
How should I handle arrays of Result monads? Should I unwrap values?
(I've been using the Result library from sniptt-official/monads ).
- oxide.ts - my Rust-inspired Option/Result and match library for TypeScript - Version 1.0 Release
- Zero-Dependency Option, Result, and Either Types for JavaScript and TypeScript
What are some alternatives?
good-try - Tries to execute a sync/async function, returns a specified default value if the function throws
pg-mem - An in memory postgres DB instance for your unit tests
wari - A type-safe way to create and handle errors.
solidarity - Solidarity is an environment checker for project dependencies across multiple machines.
boxed - Essential building-blocks for functional & safe TypeScript code
eta - The Eta Programming Language, a dialect of Haskell on the JVM
ts-belt - 🔧 Fast, modern, and practical utility library for FP in TypeScript.
bulletproof-nodejs - Implementation of a bulletproof node.js API 🛡️
crystagiri - An Html parser library for Crystal (like Nokogiri for Ruby)
deno-dom - Browser DOM & HTML parser in Deno
ts-results - A typescript implementation of Rust's Result object.
utilities - Repository of utilities for deno written in typescript for trailmix🌤🦕🍣😼