Skip to content

Porting some excellent design implementations from Rust to JavaScript.

License

Notifications You must be signed in to change notification settings

JiangJie/happy-rusty

Repository files navigation

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.