npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@effectstream/orchestrator

v0.101.1

Published

Multi-chain local development environment for EffectStream

Readme

@effectstream/orchestrator

A multi-chain local development environment for EffectStream. One CLI starts every dependency a template needs - Postgres / PgLite, Hardhat, contracts, Bitcoin Core, Midnight node + indexer + proof server, Cardano-side services, Avail node + light client, NEAR sandbox, Celestia, plus the EffectStream sync + runtime + batcher - in the right order, with health checks.

  • One CLI that starts every dependency a template needs: DB, chains, sync, runtime, batcher.
  • Dependency-graph aware: runs in parallel where it can, sequential where it must.
  • Disable any chain with DISABLE_EVM=true, DISABLE_BITCOIN=true, ...
  • Used by every template in this repo and by the E2E runner.

Install

bun add @effectstream/orchestrator
# or
npm install @effectstream/orchestrator

Standalone usage

The orchestrator is mostly invoked as a CLI from a template's repo root:

# Start every process defined in orchestrator.config.ts (or .json)
bun packages/build-tools/orchestrator/src/cli.ts start

# Show what's running and the health of each
bun packages/build-tools/orchestrator/src/cli.ts status

# Stop everything
bun packages/build-tools/orchestrator/src/cli.ts stop

Each process is declared in an OrchestratorConfig object: its command, working directory, environment, the ports/endpoints to watch for readiness, and which other processes it depends on. Then the orchestrator builds the dependency graph and runs them in parallel where possible.

import type { OrchestratorConfig } from "@effectstream/orchestrator/config";

export const config: OrchestratorConfig = {
  processes: [
    {
      name: "pglite",
      command: ["bun", "run", "@effectstream/db/start-pglite"],
      readiness: { tcp: { port: 5432 } },
    },
    {
      name: "hardhat",
      command: ["bun", "run", "hardhat", "node"],
      readiness: { http: { url: "http://127.0.0.1:8545" } },
    },
    {
      name: "deploy-contracts",
      command: ["bun", "scripts/deploy.ts"],
      dependsOn: ["hardhat"],
    },
    // …
  ],
};

Common chain launchers ship as subpath scripts you can compose: ./launch-pglite, ./launch-evm, ./launch-bitcoin, ./launch-cardano, ./launch-midnight, ./launch-avail, ./launch-near. Each wraps a pinned binary from a package under packages/binaries/ (e.g. @effectstream/npm-midnight-node, @effectstream/bitcoin-core, @effectstream/near-sandbox) with sensible defaults.

Tip: Disable chains you don't need with env vars: DISABLE_EVM=true, DISABLE_BITCOIN=true, DISABLE_MIDNIGHT=true, etc. Same flags work for the orchestrator and e2e/runner.ts.

CLI reference

orchestrator start   [config]    Start processes (daemonised, exposes HTTP API)
orchestrator status              Show process status
orchestrator restart <name>      Restart a named process
orchestrator stop    [name]      Stop a named process, or all
orchestrator list    [config]    List processes without starting
orchestrator silence <name...>   Suppress terminal output for named processes
orchestrator unsilence <name...> Resume terminal output
orchestrator logs   [name...]    Follow background daemon log files

Global flags:
  --port <n>        Orchestrator API port (default: 4747)

Inside EffectStream

Every template under templates/ defines an orchestrator.config.ts (or .json) and starts dev with one command. The E2E runner at e2e/runner.ts is the same machinery, serialised across nine chain suites.

Key subpath exports

  • @effectstream/orchestrator/config - OrchestratorConfig, ProcessConfig types.
  • @effectstream/orchestrator/resolve-package - resolve a package's bin to an absolute path (used by launcher scripts).
  • @effectstream/orchestrator/launch-pglite, ./launch-evm, ./launch-bitcoin, ./launch-cardano, ./launch-midnight, ./launch-avail, ./launch-near - opinionated launcher scripts for each chain.
  • @effectstream/orchestrator/wait-tcp, ./wait-http - readiness-check helpers.

Examples

  • Templates: every directory under templates/ ships a working orchestrator config.
  • E2E: e2e/ drives the orchestrator under the hood.

Runnable: test/examples.test.ts.

Links

  • Docs: https://effectstream.github.io/docs/packages/tools/orchestrator
  • Source: https://github.com/effectstream/effectstream/tree/main/packages/build-tools/orchestrator