text-stream-search
Version:
Searches for occurrences of a given search term in Node.js text streams
11 lines • 313 B
JavaScript
/**
* TextAccumulator collects bits and pieces of textual content
* received as a sequence of buffers.
*/
export class TextAccumulator extends Array {
/** ToString returns the currently accumulated text. */
toString() {
return this.join("");
}
}
//# sourceMappingURL=text-accumulator.js.map