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 (glibc 2.17) | ✓ | ✓ | ✓ | ✓ |
Linux x64 musl | ✓ | ✓ | ✓ | ✓ |
Linux arm gnu (glibc 2.17) | ✓ | ✓ | ✓ | ✓ |
Linux arm64 gnu (glibc 2.17) | ✓ | ✓ | ✓ | ✓ |
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. | ||
@node-rs/jsonwebtoken |
jsonwebtoken binding for Node.js. |