web-stream-kit
    Preparing search index...

    Interface DelimiterStreamOptions

    Options configuring delimiter-based text chunk splitting.

    interface DelimiterStreamOptions {
        delimiter?: string;
        keepDelimiter?: boolean;
    }
    Index
    delimiter?: string

    The string delimiter to split chunks by. Defaults to "\n".

    keepDelimiter?: boolean

    Whether to retain the delimiter character at the end of each emitted chunk. Defaults to false.