Skip to content

Workflow wire

Share workflow IDs and wire schemas between a host and its App.

  • @fungi.computer/workflows-wire
  • v0.2.4
  • MIT

Fastest path

  1. Install

    Add it to your project with npm, pnpm, Yarn or Bun.

    TERMINAL
    npm install @fungi.computer/workflows-wire
  2. Mint a run ID

    Generate and validate an identifier without starting a workflow.

    home.ts
    import { workflowRunRequestIds } from "@fungi.computer/workflows-wire";
    const requestId = workflowRunRequestIds.request.generate();
    console.log(workflowRunRequestIds.request.parse(requestId).ok);