@mistralai/mistralai 2.0.0-alpha.1
> [!IMPORTANT] > **This is v2 of the Mistral TypeScript SDK** (alpha). > > Key changes from v1: **ESM-only**, shorter type names, forward-compatible enums/unions, Zod v4. > See the **[Migration Guide](MIGRATION.md)** for full details. > > To pin v1: `npm
@mistralai/mistralai@2.0.0-alpha.1 was published on 2026-03-16. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @mistralai/mistralai versions · Permanent reference to 2.0.0-alpha.1 · View npm registry JSON · Latest release
Package specifications
| Version | 2.0.0-alpha.1 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2026-03-16T17:13:32.547Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 5545.88 KiB |
| Published file count | 3265 |
| Package type | module |
| Install lifecycle scripts | No — no install lifecycle hooks declared |
| ES module entry | Not declared |
| Default entry | ./esm/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 162 |
| Repository forks | 47 |
Install @mistralai/mistralai 2.0.0-alpha.1
npm install @mistralai/mistralai@2.0.0-alpha.1 pnpm add @mistralai/mistralai@2.0.0-alpha.1 yarn add @mistralai/mistralai@2.0.0-alpha.1
Runtime dependencies
- ws ^8.18.0
- zod ^3.25.0 || ^4.0.0
- zod-to-json-schema ^3.24.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- ws@8.22.2 — direct
- zod@4.6.7 — direct
- zod-to-json-schema@3.25.2 — direct
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.
The install lifecycle flag reports whether the npm manifest declares preinstall, install, or postinstall hooks. It does not inspect the hook body and is not a safety or vulnerability verdict. 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
- Readable npm registry JSON — retrieved 2026-11-28T04:04:16.646Z
- https://api.deps.dev/v3/systems/npm/packages/%40mistralai%2Fmistralai/versions/2.0.0-alpha.1 — retrieved 2026-11-28T04:04:16.730Z
- https://api.deps.dev/v3/systems/npm/packages/%40mistralai%2Fmistralai/versions/2.0.0-alpha.1:dependencies — retrieved 2026-11-28T04:04:16.761Z
- https://api.deps.dev/v3/projects/github.com%2Fmistralai%2Fclient-ts — retrieved 2026-11-28T04:04:16.935Z