Skip to content
PluginStats

@tanstack/ai-typesafe weekly downloads statistics

By tanstack (53 listings) · npm · AI SDKs

TypeSafe Jev adapter for TanStack AI — typed evaluate decisions over HTTP.

View on npm Fresh · Dec 6, 2026

@tanstack/ai-typesafe has 33,113 recorded weekly downloads on npm, an increase of 502% over the past 30 days, ranking #899 of 3,247 tracked listings.

Weekly downloads
33,113
Official API · Dec 5, 2026
7-day growth
+51.2%
+11.2K weekly downloads
30-day growth
+502%
+27.6K weekly downloads
90-day growth
—
Insufficient history
Rank
#899
▲ 96 in 7 days

About @tanstack/ai-typesafe

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/ai.png?theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/api/readme/ai.png" /> <img src="https://tanstack.com/api/readme/ai.png" alt="TanStack AI" width="900" /> </picture> </div> <br /> <div align="center"> <a href="https://npmjs.com/package/@tanstack/ai-typesafe" target="_parent"> <img alt="NPM downloads" src="https://img.shields.io/npm/dm/@tanstack/ai-typesafe.svg" /> </a> <a href="https://github.com/TanStack/ai" target="_parent"> <img alt="GitHub stars" src="https://img.shields.io/github/stars/TanStack/ai.svg?style=social&label=Star" /> </a> </div>

@tanstack/ai-typesafe

TypeSafe Jev adapter for TanStack AI. Call Jev with decide() and typed questions. This package talks HTTP with fetch. It does not add a TypeSafe SDK.

Install

pnpm add @tanstack/ai @tanstack/ai-typesafe

Setup

Get an API key from TypeSafe and set it as an environment variable:

export TYPESAFE_API_KEY="..."

Usage

import { boolean, choice, decide, score } from '@tanstack/ai'
import { typesafeDecider } from '@tanstack/ai-typesafe'

const result = await decide({
  adapter: typesafeDecider('jev-latest'),
  state: ticket,
  questions: {
    queue: choice({
      instructions: 'Which team should handle this ticket?',
      options: {
        billing: 'Payments, invoices, refunds',
        tech: 'Bugs, outages, integrations',
        sales: 'Pricing, upgrades, new accounts',
      },
    }),
    urgency: score({
      instructions: 'How urgent is this ticket?',
      levels: ['low', 'medium', 'high'],
    }),
    refund: boolean({
      instructions: 'Is the customer asking for a refund?',
    }),
  },
})

result.queue.value
result.meta.model
result.meta.usage

typesafeDecider(model) reads TYPESAFE_API_KEY from the environment. To pass a key yourself, use createTypesafeDecider(model, apiKey).

Supported models

  • jev-latest — current stable Jev alias
  • jev-1.13.0 — pinned Jev release

You can also pass other TypeSafe model ids as a string.

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • typesafe
  • jev
  • adapter
  • evaluate
  • decide

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@tanstack/ai-typesafe weekly downloads on npm, last 90 days: 33,113 weekly downloads as of Dec 5, 2026.@tanstack/ai-typesafeWeekly downloads on npm · Last 90 days33,113downloads / week05K10K15K20K25K30K35KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@tanstack/ai-typesafe weekly downloads on npm, last 90 days: 33,113 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@tanstack/ai-typesafe weekly downloads growth on npm: +51.2% over 7 days, +502% over 30 days, 90-day growth unavailable.@tanstack/ai-typesafeWeekly downloads growth on npm33,113downloads / week now7-day growth+11,215 weekly downloads+51.2%30-day growth+27,613 weekly downloads+502%90-day growth+33,113 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-typesafe weekly downloads growth on npm: +51.2% over 7 days, +502% over 30 days, 90-day growth unavailable.

Ranking history

@tanstack/ai-typesafe npm ranking history: currently #899 (by weekly downloads).@tanstack/ai-typesafenpm ranking · by weekly downloads · Last 90 days#899current rank#200#400#600#800#1000#1200#1400#1600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-typesafe npm ranking history: currently #899 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 45, #19 (overall #899)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 4, #3 (overall #63)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for @tanstack/ai-typesafe
Date (UTC)Weekly downloadsChange vs. previous
33,113-348
33,461+519
32,942-387
33,329+3.4K
29,946+6.4K
23,519+2.7K
20,818-1.1K
21,898-3.5K
25,408-514
25,922+2.2K
23,741+1.3K
22,473+2.7K
19,823+1.4K
18,447—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@tanstack/ai-typesafe. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.