Skip to main content
The Deno 2 Release Candidate is here
Learn more

presque

deno doc npm

An attempt to make TypeScript less bad by just adding features and utilities from more good languages in a way that’s close enough.

Installation/Usage

  • 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";

Currently Implemented

name description inspiration
result A type used for returning and propogating errors. Rust
immutable Functions/utilities for immutable data transformation. Clojure