Catalog npm
PACKAGE EXPLORERView in registry

1baton

npm

1Baton runner

Versions collected7
Direct dependencies11From release 1.0.6
Last observed20 Oct, 18:25 UTC

README

Current package documentation

1Baton

A local runner for the 1Baton app. Start it on your machine so the browser can execute real HTTP API calls against your internal services.

Why

Browsers can't call most internal APIs directly — they block cross-origin requests (CORS) and have no access to your private network. The runner fills that gap: it runs as a local process with full network access, receives the Playbook from the browser, calls your APIs, and streams results back in real time.

1Baton app (browser)
    │  POST /api/run      → sends the Playbook
    │  GET  /api/run/:id/stream  ← live step results
    ▼
Runner (localhost:7331)
    │  real HTTP calls
    ▼
Your internal APIs

Usage

npx 1baton --port 7331

Leave it running in a terminal while you use the 1Baton app. The app detects it automatically and switches from simulation to real execution.

Options

FlagDefaultDescription
--port, -p7331Port to listen on

How it works

  1. The browser POSTs the Playbook to /api/run and receives a runId
  2. The browser opens a streaming connection to /api/run/:runId/stream
  3. The runner executes each step sequentially, resolving variables and making real HTTP calls
  4. Each step result is streamed back as a Server-Sent Event

See RUNNER.md for a full explanation of variable scoping, output promotion, assertions, and the API reference.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 7

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.6Registry latest3 Jul 202611
1.0.521 Jun 202611
1.0.423 May 202611
1.0.323 May 202611
1.0.223 May 202611
1.0.19 May 202611
1.0.08 May 202611

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:25 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6b41dd8f933d784b831d59c7f5ce9d848134820512f60a55e727a63f33edcd5d