ai 2.1.24
The Vercel AI SDK is **a library for building edge-ready AI-powered streaming text and chat UIs**.
ai@2.1.24 was published on 2023-07-21. Its manifest declares 7 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.1.24 · Latest release
Package specifications
| Version | 2.1.24 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2023-07-21T21:44:20.862Z |
| Node.js requirement | >=14.6 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 7 |
| Peer requirement count | 4 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 234.04 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 | 27503 |
| Repository forks | 5433 |
Install ai 2.1.24
npm install ai@2.1.24 pnpm add ai@2.1.24 yarn add ai@2.1.24
Runtime dependencies
- swr 2.2.0
- sswr 2.0.0
- swrv 1.0.4
- nanoid 3.3.6
- 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.1.24 — retrieved 2026-11-01T07:08:50.224Z
- https://api.deps.dev/v3/projects/github.com%2Fvercel%2Fai — retrieved 2026-11-01T04:59:12.159Z