2022-05-07 15:46:05 +08:00
2021-03-02 15:19:32 +08:00
WIP
2022-05-07 15:46:05 +08:00
2020-04-20 23:17:45 +08:00
2020-04-30 15:44:15 +08:00
2020-05-09 17:46:13 +08:00
2020-04-20 23:17:45 +08:00
2021-09-09 14:17:28 +08:00
2020-09-25 15:49:02 +08:00

node-rs

When Node.js meet Rust = 🚀

napi-rs

Make rust crates binding to Node.js use napi-rs

Support matrix

node12 node14 node16 node18
Windows x64 ✓ ✓ ✓ ✓
Windows x32 ✓ ✓ ✓ ✓
Windows arm64 ✓ ✓ ✓ ✓
macOS x64 ✓ ✓ ✓ ✓
macOS arm64 (m chips) ✓ ✓ ✓ ✓
Linux x64 gnu ✓ ✓ ✓ ✓
Linux x64 musl ✓ ✓ ✓ ✓
Linux arm gnu ✓ ✓ ✓ ✓
Linux arm64 gnu ✓ ✓ ✓ ✓
Linux arm64 musl ✓ ✓ ✓ ✓
Android arm64 ✓ ✓ ✓ ✓
Android armv7 ✓ ✓ ✓ ✓
FreeBSD x64 ✓ ✓ ✓ ✓

Packages

Package Version Downloads Description
@node-rs/crc32 Fastest CRC32 implementation using SIMD
@node-rs/jieba jieba-rs binding
@node-rs/bcrypt Fastest bcrypt implementation
@node-rs/deno-lint deno_lint Node.js binding
@node-rs/xxhash xxhash-rust Node.js binding
@node-rs/argon2 argon2 binding for Node.js.
Languages
Rust 40.1%
TypeScript 38.8%
JavaScript 21.1%