Documentation Index
Fetch the complete documentation index at: https://crystalflow.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Choose Your Path
Visual Workflow Builder
@crystalflow/react + core - For building visual workflow applications with React
Core Package Only
@crystalflow/core - For backend workflows, automation, and custom UIs
Not sure which to choose? See Which Package Do I Need?
Visual Builder Installation
For building visual workflow applications with drag-and-drop UI.Prerequisites
- Node.js v18 or higher
- React v18 or higher
- npm, pnpm, or yarn package manager
Install Packages
- npm
- pnpm
- yarn
Core-Only Installation
For backend workflows, automation, CLI tools, or custom UIs.Prerequisites
- Node.js v18 or higher
- npm, pnpm, or yarn package manager
- No React required
Install Packages
- npm
- pnpm
- yarn
TypeScript Configuration
Required for both paths. CrystalFlow requires specific TypeScript compiler options. Update yourtsconfig.json:
tsconfig.json
Why these options?
Why these options?
- experimentalDecorators: Enables decorator syntax (
@defineNode,@Input,@Output) - emitDecoratorMetadata: Required for reflect-metadata to work
- moduleResolution: “bundler”: Recommended for modern build tools (Vite, webpack)
- strict: Enables all strict type-checking options for better type safety
Import reflect-metadata
Add this import at the very top of your application entry point:main.ts
Verify Installation
Create a simple test to verify everything is working:test.ts
Next Steps
Choose your path to continue:Visual Builder Quick Start
Build a visual workflow application with React (5 min)
Core-Only Quick Start
Create backend workflows with core package (5 min)
Your First Workflow Builder
Complete tutorial for visual builder applications
Which Package?
Still not sure? Learn which package to use