Import
createAnonymizerStream()
Factory function that creates and initializes a streaming anonymizer.Signature
Parameters
StreamConfig
Returns
Promise<AnonymizerStream> — a Node.js Transform stream.
Example
AnonymizerStream
A Node.jsTransform stream that anonymizes text passing through it.
Methods
Example
SentenceBuffer
Accumulates text and flushes at sentence boundaries with overlap for NER context.Constructor
Methods
Types
StreamChunkEvent
StreamFinishEvent
FlushResult
Related
- Streaming Guide - Usage guide and examples
- LLM Proxy - Proxy middleware with streaming support