{"repo":"cgoinglove/ts-edge","free":true,"listed":false,"github":"https://github.com/cgoinglove/ts-edge","clone":"git clone https://github.com/cgoinglove/ts-edge.git","description":"A lightweight, type-safe workflow engine for TypeScript that helps you create flexible, graph-based execution flows","language":"TypeScript","stars":28,"topics":["ai-agents","directed-graph","typescript","workflow"],"license":"MIT","category":"workflow-automation","readme_excerpt":"🔗 ts-edge 🔗 English 한국어 A lightweight workflow engine for TypeScript that lets you create graph-based execution flows with type safety and minimal complexity. Contents - Features - Installation - Type-safe Workflows - Ensure type compatibility between nodes - State-based Workflows - Share state across nodes - Key Features - Helper Functions Features - Lightweight : Minimal API and options that you can learn and apply quickly - Advanced Type Inference : Compile-time validation ensures nodes can only connect when their input/output types match - Simple API : Provides only essential functionality for ease of use - Flexible workflows : Supports various patterns like conditional branching, parallel processing, and result merging - State Management : Built-in store for state-based workflows Installation Type-safe Workflows Type-safe workflows in ts-edge ensure type compatibility between connected nodes: State-based Workflows State-based workflows in ts-edge allow nodes to share and modify a common state: Key Features Basic Node and Edge Definition Nodes process input and produce output. Edges define the flow between nodes. Nodes can include optional metadata for documentation or visualization purposes. Node Execution Context Each node's execute function can receive a context object as a second argument: Dynamic Routing Make execution decisions based on node outputs: For better visualization and documentation, you can specify possible targets: Parallel Processing with Merge Nodes ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cgoinglove","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cgoinglove/ts-edge/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}