3.0.0 • Published 5 months ago

@usersina/react-async-typewriter v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

React Asynchronous Typewriter

An asynchronous react typewriter that handles streams

Large Language Models can take quite a bit of time to generate the full response, hence most API services tend to provide streaming endpoints to return the data as soon as it's being generated (time to first token).

This library is a way to get the response stream from a fetch request returning a stream and parse its result.

Documentation