drupflare/worker - v1.0.4
    Preparing search index...

    Function replaceStream

    • Replaces every needle across chunk boundaries.

      A match that starts before the last longest - 1 characters of the buffered text lies wholly inside it; anything later is held back and scanned again with the next chunk.

      Parameters

      • pairs: [string, string][]

      Returns TransformStream<string, string>