Hacker News AIT2·Tools
58 pts
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.