npm · npm:@google/generative-ai
@google/generative-ai active
Google AI JavaScript SDK
The latest stable version of @google/generative-ai is 0.24.1, published on 2025-04-29. Verified by Vigia on 2026-11-12.
| Latest stable version | 0.24.1 |
|---|---|
| Published | 2025-04-29 17:48:21 UTC |
| Install | npm install @google/generative-ai@latest |
| Requires (engines) | {"node":">=18.0.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 0.24.1 0.16-patch: 0.16.1 |
| License | Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:10:09 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2025-04-29 17:48:21 UTC · 562 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 40 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.24.1 | 2025-04-29 17:48:21 UTC |
0.24.0 | 2025-03-07 00:05:55 UTC |
0.23.0 | 2025-03-03 18:15:06 UTC |
0.22.0 | 2025-02-20 20:59:24 UTC |
0.21.0 | 2024-10-02 22:18:09 UTC |
0.20.0 | 2024-09-26 23:39:15 UTC |
0.19.0 | 2024-09-12 16:33:36 UTC |
0.18.0 | 2024-09-11 22:01:28 UTC |
0.17.2 | 2024-09-10 18:27:38 UTC |
0.16.1 | 2024-09-05 23:12:37 UTC |
0.17.1 | 2024-08-22 15:52:57 UTC |
0.17.0 | 2024-08-13 15:41:06 UTC |
0.16.0 | 2024-07-24 20:52:03 UTC |
0.15.0 | 2024-07-15 18:29:34 UTC |
0.14.1 | 2024-07-01 20:43:52 UTC |
0.14.0 | 2024-06-27 02:39:28 UTC |
0.13.0 | 2024-06-18 12:45:12 UTC |
0.12.0 | 2024-05-29 21:01:17 UTC |
0.11.5 | 2024-05-29 18:02:41 UTC |
0.11.4 | 2024-05-22 21:00:58 UTC |
Showing the 20 most recent of 40 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | none |
node 18 | 0.24.1 |
node 20 | 0.24.1 |
node 22 | 0.24.1 |
node 24 | 0.24.1 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of @google/generative-ai?
The latest stable version of @google/generative-ai is 0.24.1, published on 2025-04-29. Verified by Vigia on 2026-11-12.
How do I install the latest version of @google/generative-ai?
Run npm install @google/generative-ai@latest. The latest stable version is 0.24.1 (verified 2026-11-12).
Is @google/generative-ai deprecated?
No. @google/generative-ai is not marked as deprecated in the registry.
Which Node.js version does @google/generative-ai require?
@google/generative-ai 0.24.1 declares this requirement: {"node":">=18.0.0"}.
Does @google/generative-ai 0.24.1 have known vulnerabilities?
No known advisories affect @google/generative-ai 0.24.1 according to the data Vigia checks.
Is @google/generative-ai still maintained?
@google/generative-ai published 0 stable releases in the last 12 months; the most recent was 562 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- maath
- regexparam
- dottie
- @expo/prebuild-config
- @changesets/config
- @aws-sdk/middleware-sdk-sts
- @dagrejs/graphlib
- jspdf-autotable
- @lexical/mark
- @turf/distance
- @react-types/tooltip
- rc-resize-observer
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@google/generative-ai) [](https://vigia.coredls.cloud/npm/@google/generative-ai) [](https://vigia.coredls.cloud/npm/@google/generative-ai)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@google/generative-ai
GET https://vigia.coredls.cloud/v1/packages/npm/@google/generative-ai/versions/{version}