pipeliner
1.0.1, released 9 months ago by ilexbor.dev
Build and run sequential data processing pipelines in Dart.
WASM-ready
What it does
The package lets you define a series of steps where each step receives the output of the previous one. Steps can be synchronous or asynchronous, and the whole pipeline is executed with a single call. It returns the final result after all steps have run.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to transform data through multiple stages without external state management
- You want a lightweight way to compose async/sync functions in a linear flow
Skip it when
- Complex state management or UI logic is required
- You need reactive streams or built‑in error propagation
Strengths
- Very small, zero dependencies
- Simple, chainable API for sync and async steps
- Clear separation of pipeline definition and execution
Weaknesses
- Limited to linear pipelines; no branching or parallelism
- No built‑in error handling or cancellation support
- Not a full reactive or state‑management solution
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
final pipeline = Pipeliner.create(() => 1)
.pipe((int v) => (v + 1).toString())
.pipe((String s) => int.parse(s) + 1);
final result = await pipeline.call(); // result == 3Alternatives
Packages that do the same job and could replace pipeliner.