Not TestedTesting not done, may not work properly
Streams

TransformStream

Pipeline transform layer between readable and writable streams.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

const transform = new TransformStream({
  transform(chunk, controller) { controller.enqueue(chunk.toUpperCase()); }
});

About the TransformStream Web API

TransformStream consists of a pair of streams: a WritableStream and a ReadableStream.

Specification:W3C & WHATWG Web API Standard
Sponsored Content