Web streams utils - v0.3.0
    Preparing search index...

    Function skip

    • Skip a number of chunks from the beginning of a stream

      Type Parameters

      • T

      Parameters

      • count: number

        The number of chunks to skip

      Returns TransformStream<T, T>

      A TransformStream that skips the specified number of chunks

      const stream = readable.pipeThrough(skip(2));
      // The first 2 chunks will be skipped