ai 2.2.3
The Vercel AI SDK is **a library for building AI-powered streaming text and chat UIs**.
ai@2.2.3 was published on 2023-08-18. Its manifest declares 8 runtime dependencies and 4 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.6.
All ai versions · Permanent reference to 2.2.3 · Latest release
Package specifications
| Version | 2.2.3 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2023-08-18T19:17:03.402Z |
| Node.js requirement | >=14.6 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 8 |
| Peer requirement count | 4 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 261.60 KiB |
| Published file count | 25 |
| Package type | Not declared |
| ES module entry | ./dist/index.mjs |
| Default entry | ./dist/index.js |
| Side effects declaration | false |
| Direct advisories | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install ai 2.2.3
npm install ai@2.2.3 pnpm add ai@2.2.3 yarn add ai@2.2.3
Runtime dependencies
- swr 2.2.0
- sswr 2.0.0
- swrv 1.0.4
- nanoid 3.3.6
- openai 4.0.0
- swr-store 0.10.6
- solid-swr-store 0.10.7
- eventsource-parser 1.0.0
Peer requirements
Optional dependencies
- None declared
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/ai/2.2.3 — retrieved 2026-10-31T20:49:31.363Z