Generative AI JS
This SDK is now deprecated, use the new unified Google GenAI SDK
...The deprecation label reflects that newer or official SDKs may have replaced it, but many of its patterns still serve as a useful reference to understand how streaming, chunking, and prompt logic can be implemented by hand in JS.