Skip to main content

@google/genai

v2.30.0MEDIUM Risk

[![NPM Downloads](https://img.shields.io/npm/dw/%40google%2Fgenai)](https://www.npmjs.com/package/@google/genai) [![Node Current](https://img.shields.io/node/v/%40google%2Fgenai)](https://www.npmjs.com/package/@google/genai)

B75/100
Install Command
npm install @google/genai
orpnpm add @google/genai
Typosquat Defense
Authentic Name

No similarity to known typosquatting targets.

Lifecycle Scripts
Automated Scripts

Executes code during install (preinstall: echo 'preinstall: no-op').

License Type
Apache-2.0

Permissive open-source license. Safe for enterprise & proprietary software.

Package Specifications

Unpacked Size
11.56 MB
Dependencies
4
Maintainers
3
Last Published
Oct 15, 2026
Free VS Code Extension

Detect Supply Chain Attacks Directly in Your Editor

Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.

Install Dependency Risk Lens

Frequently Asked Questions

Is @google/genai safe to use in production?
@google/genai received a Security Grade of B (75/100) with a risk evaluation of MEDIUM. Warning: It executes automatic install scripts.
What license does @google/genai use?
@google/genai is licensed under the Apache-2.0 license (PERMISSIVE). This is a permissive open-source license suitable for commercial applications.
How do I install @google/genai?
Install it via NPM using: npm install @google/genai, or via PNPM: pnpm add @google/genai, or Yarn: yarn add @google/genai.