Skip to main content
Home

Built and signed on GitHub Actions

Porting some excellent design implementations from Rust to JavaScript.

This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
It is unknown whether 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
11 months ago (1.5.0)

Use Rust features in JavaScript happily

NPM version NPM downloads JSR Version JSR Score Build Status codecov


中文


Supported

Installation

# via pnpm
pnpm add happy-rusty
# or via yarn
yarn add happy-rusty
# or just from npm
npm install --save happy-rusty
# via JSR
jsr add @happy-js/happy-rusty
# for deno
deno add @happy-js/happy-rusty
# for bun
bunx jsr add @happy-js/happy-rusty

then import to your code.

import { Some, None, Ok, Err } from 'happy-rusty';

Enjoy the happiness.

Examples

Docs

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@happy-js/happy-rusty

Import symbol

import * as happy_rusty from "@happy-js/happy-rusty";
or

Import directly with a jsr specifier

import * as happy_rusty from "jsr:@happy-js/happy-rusty";

Add Package

pnpm i jsr:@happy-js/happy-rusty
or (using pnpm 10.8 or older)
pnpm dlx jsr add @happy-js/happy-rusty

Import symbol

import * as happy_rusty from "@happy-js/happy-rusty";

Add Package

yarn add jsr:@happy-js/happy-rusty
or (using Yarn 4.8 or older)
yarn dlx jsr add @happy-js/happy-rusty

Import symbol

import * as happy_rusty from "@happy-js/happy-rusty";

Add Package

vlt install jsr:@happy-js/happy-rusty

Import symbol

import * as happy_rusty from "@happy-js/happy-rusty";

Add Package

npx jsr add @happy-js/happy-rusty

Import symbol

import * as happy_rusty from "@happy-js/happy-rusty";

Add Package

bunx jsr add @happy-js/happy-rusty

Import symbol

import * as happy_rusty from "@happy-js/happy-rusty";