@flowget/stdlib
v0.1.1
Published
Flowget node standard library — a catalog of ready-to-use workflow nodes (HTTP request/decider, logging, delays, branching, variables, parallelism) plus a retry decorator, shipped as node executors and executor-free builder metadata.
Maintainers
Readme
@flowget/stdlib
The Flowget node standard library — a catalog of ready-to-use workflow nodes so you don't have to redefine the basics in every project. Ships the node executors, executor-free builder metadata, and a filesystem-scannable registry for the Flowget engine and worker.
Install
npm i @flowget/stdlibCatalog
15 entries — 14 nodes + 1 decorator:
- Actions:
log,http_request,http_decider - Flow:
delay,wait_until - Transforms:
fail,succeed,if_else,switch,set_variables,parallel_branches,parallel_join - Triggers:
manual_trigger,schedule_trigger - Decorator:
retry_on_failure
Usage
Programmatic registry composition:
import { buildRegistry } from "@flowget/worker";
import { stdlibNodes } from "@flowget/stdlib";
const registry = buildRegistry([...stdlibNodes, ...myNodes]);Executor-free catalog metadata for builder UIs (no runtime imports):
import { stdlibMetadataAdapter } from "@flowget/stdlib/metadata";Or filesystem discovery — the canonical path — pointing the worker at the published registry tree:
REGISTRY_DIR=./registry,./node_modules/@flowget/stdlib/registry flowget-worker⚠️ 0.x is unstable
The surface is unstable until v1 — breaking changes ship as minor bumps. Pin
exact versions in consumers ("@flowget/stdlib": "0.1.0", not "^0.1.0").
Links
- Full documentation: https://docs.flowget.io
- Security policy: SECURITY.md
- License: FSL-1.1-ALv2 (see LICENSE)
