Hyperse Pipeline

Browser Support

Runtimes and environments the library can target.

The library is built on modern JavaScript features and has no runtime dependencies.

Supported environments

  • Node.js 16 and newer
  • Modern browsers with ES2020+ support
  • TypeScript 4.5 and newer (for the full type surface)

What it relies on

FeatureUsed for
PromiseThreading async steps and middleware
WeakMap / WeakSetEarly-exit and replacement bookkeeping
SymbolInternal pipeline identity marker
async / awaitMiddleware and pipeline execution

Because the bookkeeping is identity-based, the library does not attach properties to your values, which makes it safe to pass through frozen objects and values from other libraries.

Bundling

The published package is ESM-first, so bundlers can tree-shake the helpers you do not import:

// Only the parts you use end up in your bundle.
import { pipe, exitPipe } from '@hyperse/pipeline';

Next steps

On this page