rickycodes
v1.7.1
Published
my business card
Readme
Goal
Write a CLI in Rust that can still be published to npm and launched with npx.
Building
npm run buildThis builds the wasm target and stages the packaged artifact at:
./dist/card.wasmFor local native development, you can still build the Rust CLI directly:
npm run native:buildRunning
npx rickycodesThe default npm experience is now Node + wasm. Exit with q, Esc, or Ctrl-C.
To inspect the ANSI palette helper:
npx rickycodes coloursPackaging tradeoff
The published package can now run on a Node-only machine because it ships a prebuilt card.wasm artifact instead of compiling Rust during npm install. Rust tooling is still needed by the publisher when producing that artifact.
License
MIT
