Skip to main content

Built and signed on GitHub Actions

A utility that mimics Rust's Result type and adds its own methods such as match.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (1.0.7)

A utility that mimics Rust's Result type and adds its own methods such as match.

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@result/result

Import symbol

import * as mod from "@result/result";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@result/result";

Add Package

npx jsr add @result/result

Import symbol

import * as mod from "@result/result";

Add Package

yarn dlx jsr add @result/result

Import symbol

import * as mod from "@result/result";

Add Package

pnpm dlx jsr add @result/result

Import symbol

import * as mod from "@result/result";

Add Package

bunx jsr add @result/result

Import symbol

import * as mod from "@result/result";