sflow
Version:
sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, fil
9 lines (8 loc) • 311 B
TypeScript
type LinesOptions = {
EOL?: "KEEP" | "LF" | "CRLF" | "NONE";
};
/** split string stream into lines stream, handy to concat LLM's tokens stream into line by line stream or split a long string by lines */
export declare const lines: {
(opts?: LinesOptions): TransformStream<string, string>;
};
export {};