An attempt to make TypeScript less bad by just adding features and utilities from more good languages in a way that's close enough.
- With Deno:
import { Err, Ok } from "https://deno.land/x/presque/lib/result.ts";
- With Node.js:
npm i presque
import { Err, Ok } from "presque/result";
name | description | inspiration |
---|---|---|
result |
A type used for returning and propogating errors. | Rust |
immutable |
Functions/utilities for immutable data transformation. | Clojure |