| Crates.io | r2n |
| lib.rs | r2n |
| version | 0.1.0 |
| created_at | 2025-11-14 19:44:51.14542+00 |
| updated_at | 2025-11-14 19:44:51.14542+00 |
| description | A CLI tool for rapidly shipping Rust projects to npm |
| homepage | |
| repository | https://github.com/jpwesselink/r2n |
| max_upload_size | |
| id | 1933342 |
| size | 226,911 |
Ship Rust CLI tools to npm.
⚠️ EXPERIMENTAL: This package is experimental and should not be used in production. APIs and behavior may change without notice.
cargo install r2n
r2n init my-tool
cd my-tool
cd my-rust-project
r2n add
r2n build
This cross-compiles your Rust binary and creates an npm package ready to publish.
package.json with proper bin configurationdist/ ready for npm publishMIT OR Apache-2.0