Skip to main content

@effectstream/npm-avail-node

Package: @effectstream/npm-avail-node · Source

NPM wrapper around the Avail node binary. Installs a pinned version into node_modules/.bin/npm-avail-node so the EffectStream orchestrator can run a local Avail node without each developer compiling or downloading it manually.

  • Pinned Avail node binary, dropped into node_modules/.bin/.
  • Spins up a local dev node with --dev in one command.
  • Paired with @effectstream/npm-avail-light-client for full local Avail-DA.
  • Exercised by the e2e/avail/ suite.

Install

bun add @effectstream/npm-avail-node
# or
npm install @effectstream/npm-avail-node

The package downloads the pinned tarball for your platform on install.

Standalone usage

# Spin up a local dev node
bunx npm-avail-node --dev

# Or invoke through this package
bun run --bun @effectstream/npm-avail-node/start -- --dev

Pair with @effectstream/npm-avail-light-client for the full local Avail-DA setup.

Inside EffectStream

The orchestrator's Avail step starts this node alongside the light client. The Avail E2E suite at e2e/avail/ exercises this binary as the local source of truth for Avail-DA data.