.node binaries. When you install the package, the correct binary for your operating system and CPU architecture is downloaded automatically you do not need Rust, Cargo, or any C/C++ build toolchain installed on your machine.
Supported Platforms
The table below lists every platform that ships a prebuilt binary:
Each binary package contains a single precompiled
.node file built from the Rust source in CI. The binaries are published to GitHub Packages alongside the main @vernonthedev/encryptd package.
How Binary Selection Works
At runtime, the Node.js package detects your platform and architecture usingprocess.platform and process.arch, then requires the matching .node file from the appropriate binary package. This happens transparently inside the package you call encrypt or decrypt (or run the CLI) and the correct native code executes without any configuration on your part.
Unsupported Platforms
If your platform is not in the supported list for example, Linux ARM64 (Raspberry Pi, AWS Graviton), Alpine Linux (musl libc), or 32-bit architectures the package will throw a load error when it tries to require the native binary. There is no JavaScript fallback. To add support for a new platform, the Rust code must be cross-compiled and a new binary package published.
.png?fit=max&auto=format&n=Fjc5BJwQaMa3_uyF&q=85&s=4368c06aabf42347a7a04b5f52aafc0d)