Wondering what’s next for npm?Check out our public roadmap! »

    @boost/pipeline
    TypeScript icon, indicating that this package has built-in type declarations

    2.2.5 • Public • Published

    Pipeline - Boost

    Build Status npm version npm deps

    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 '@boost/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

    yarn add @boost/pipeline
    

    Documentation

    https://boostlib.dev/docs/pipeline

    Install

    npm i @boost/pipeline

    DownloadsWeekly Downloads

    794

    Version

    2.2.5

    License

    MIT

    Unpacked Size

    106 kB

    Total Files

    74

    Last publish

    Collaborators

    • avatar