0.2.0 • Published 4 months ago
@jil/pipeline v0.2.0
@jil/pipeline
Pipe an input through a series of routines and tasks to produce an output, or simply, run logic in a series of stages
import { Context, WaterfallPipeline } from '@jil/pipeline';
const ast = new WaterfallPipeline(new Context(), filePath)
.pipe('Parsing AST', parseAst)
.pipe('Linting rules', runLintsOnAst)
.pipe('Transforming nodes', transformNodesOnAst)
.pipe('Writing contents', writeAstToFile)
.run();
Features
- Parallel and serial based processing pipelines.
- Supports 2 types of work units: tasks and routines.
- Pooling and aggregated implementations for computation heavy or complex logic.
- Contextually aware executions.
Installation
npm i @jil/pipeline
Documentation
0.2.0
4 months ago
0.1.19
7 months ago
0.1.18
11 months ago
0.1.17
1 year ago
0.1.16
1 year ago
0.1.13
1 year ago
0.1.14
1 year ago
0.1.15
1 year ago
0.1.11
2 years ago
0.1.12
2 years ago
0.1.10
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.9
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago