googleapis/js-genai
TypeScript/JavaScript SDK for Gemini and Vertex AI. observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 99
- Release rhythm 87
- Longevity 45
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 5.0
- age_days: 635
- days_rel: 8
- days_push: 7
- n_releases_24m: 93
Adoption not part of the score
1668 stars · 268 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official Google Gen AI SDK for TypeScript and JavaScript, providing access to the Gemini Developer API and Vertex AI (Gemini Enterprise Agent Platform). It supports Gemini 2.0+ features including content generation, streaming, chats, function calling, and live connections.
Use cases
- generate text with gemini from node.js
- build a chatbot using the gemini api in typescript
- call vertex ai gemini models from javascript
- stream gemini responses in a web app backend
- implement function calling with gemini
- integrate google ai into a nodejs application
When to choose
- you are a TypeScript/JavaScript developer building apps on Gemini or Vertex AI
- you need official, up-to-date SDK support for Gemini 2.0+ features
- you want both Gemini Developer API and Google Cloud Vertex AI access from one client
When to avoid
- you primarily use Python or another language ecosystem
- you need a provider-agnostic LLM client rather than Google-specific APIs
- you must run on Node.js versions older than 20 (22+ in v3.0.0)
Facets
library · maturity active
sdk llm-inference agent-framework http-client artificial-intelligence large-language-models developer-tools apis cross-platform gemini vertex-ai google-genai typescript-sdk generative-ai nodejs web-server
2 sources
- readme: https://github.com/googleapis/js-genai · fetched 2026-08-28 · d0b5cee72236
- homepage: https://googleapis.github.io/js-genai/ · fetched 2026-08-29 · 73b824e89910
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| googleapis/js-genai | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="googleapis/js-genai")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem