Socket
Socket
Sign inDemoInstall

@boost/pipeline

Package Overview
Dependencies
62
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @boost/pipeline

Pipe an input through a series of routines and tasks to produce an output, or simply, run logic in a series of stages.


Version published
Maintainers
1
Install size
4.49 MB
Created

Readme

Source

Pipeline - Boost

build status npm version

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
  • https://boostlib.dev/api/pipeline

Keywords

FAQs

Last updated on 01 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc