Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.42 KB

README.cn.md

File metadata and controls

47 lines (36 loc) · 1.42 KB

在 JavaScript 中使用 Rust 特性

NPM version NPM downloads JSR Version JSR Score Build Status codecov


支持的特性

安装

# 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

接下来就可以在代码里引用了。

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