Nozzle Ships Zero-Dependency Streaming Text Library for LLMs
Original: Nozzle: A streaming library that emits when possible and buffers where necessary
Nozzle is a lightweight TypeScript library for handling LLM text streams, buffering only where necessary and emitting everything else immediately, such as holding a potential regex match until confirmed. It is zero-dependency with a small footprint and offers streaming conversion APIs like consume and toReadableStream, suited to low-latency streaming UIs and parsing pipelines.