The npm package name is planr. Published versions bundle platform-native binaries under npm/native/<os>-<arch>/planr, so installing from npm requires no Rust toolchain:
npm install -g planr
planr --versionSupported platforms: darwin-arm64, darwin-x86_64, linux-x86_64, linux-arm64. There is no postinstall script and no network download at install time; the binaries ship inside the tarball and are checksum-verified against the GitHub Release SHA256SUMS before publish.
Publishing happens only from the npm-publish job in .github/workflows/release.yml via npm Trusted Publishing (OIDC, no long-lived token). The job runs when the repository variable NPM_PUBLISH_ENABLED is true and requires a one-time Trusted Publisher configuration on npmjs.com: package planr -> Settings -> Publishing access -> GitHub Actions publisher with repository instructa/planr and workflow release.yml.
The wrapper looks for a native binary in this order:
PLANR_NATIVE_BIN;npm/native/<os>-<arch>/planr(published package);target/release/planrthentarget/debug/planr(repository checkout).
The repository checkout contains no npm/native/ binaries; the wrapper falls back to local cargo builds:
cargo build --release
npm link
planr --versionFor consumer E2E testing:
cd ~/projects/planr-test
npm link ../planr
npm run test:npm-planr