Skip to content

Install

Install the core package in the project where you want to handle fallible operations.

sh
npm install mayfail
sh
pnpm add mayfail
sh
yarn add mayfail
sh
bun add mayfail

Then import the API you need:

ts
import { mayfail } from "mayfail";