Skip to content
PluginStats

@tanstack/ai-isolate-quickjs weekly downloads statistics

By tanstack (53 listings) · npm · AI SDKs

QuickJS WASM sandbox driver for TanStack AI Code Mode TypeScript execution across runtimes.

View on npm Fresh · Dec 6, 2026

@tanstack/ai-isolate-quickjs has 23,767 recorded weekly downloads on npm, an increase of 3.0% over the past 30 days, ranking #984 of 3,247 tracked listings.

Weekly downloads
23,767
Official API · Dec 5, 2026
7-day growth
+0.5%
+124 weekly downloads
30-day growth
+3.0%
+684 weekly downloads
90-day growth
+441%
+19.4K weekly downloads
Rank
#984
▼ 15 in 7 days

About @tanstack/ai-isolate-quickjs

<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 />

@tanstack/ai-isolate-quickjs

QuickJS WASM driver for TanStack AI Code Mode. Runs everywhere — Node.js, browsers, and edge runtimes — with zero native dependencies.

Installation

pnpm add @tanstack/ai-isolate-quickjs

Usage

import { createQuickJSIsolateDriver } from '@tanstack/ai-isolate-quickjs'
import { createCodeModeTool } from '@tanstack/ai-code-mode'

const driver = createQuickJSIsolateDriver({
  timeout: 30000, // execution timeout in ms (default: 30000)
  memoryLimit: 128, // memory limit in MB (default: 128)
  maxStackSize: 512 * 1024, // max stack size in bytes (default: 512 KiB)
  wasmLocation: '/assets/quickjs/emscripten-module.wasm', // optional public URL or path
})

const executeTypescript = createCodeModeTool({
  driver,
  tools: [myTool],
})

Config Options

  • timeout — Default execution timeout in milliseconds (default: 30000)
  • memoryLimit — Default QuickJS runtime memory limit in MB (default: 128)
  • maxStackSize — Default QuickJS runtime max stack size in bytes (default: 524288)
  • wasmLocation — Optional URL or path from which Emscripten loads the QuickJS WASM binary. When omitted, quickjs-emscripten resolves its bundled binary.

Serving the WASM Binary

Use wasmLocation when your runtime requires the QuickJS WASM binary to be served from a public directory or CDN:

const driver = createQuickJSIsolateDriver({
  wasmLocation: 'https://cdn.example.com/quickjs/emscripten-module.wasm',
})

The configured file must be the synchronous release binary exported by @jitl/quickjs-wasmfile-release-sync/wasm. Ensure cross-origin requests are allowed when serving it from another origin.

Tradeoffs vs Node Driver

QuickJS (WASM)Node (isolated-vm)
Native depsNoneYes (C++ addon)
Browser supportYesNo
PerformanceSlower (interpreted)Faster (V8 JIT)
Memory limitConfigurableConfigurable
Best forBrowser, edge, portabilityServer-side performance

How It Works

Uses QuickJS compiled to WebAssembly via quickjs-emscripten. Each execution creates a fresh QuickJS context with tool bindings injected as global async functions.

Runtime Limits and Errors

  • QuickJS enforces runtime memory and stack limits for each context.
  • Exceeding limits can produce normalized errors such as MemoryLimitError or StackOverflowError.
  • Certain fatal limit conditions may dispose the underlying VM; create a fresh context before running more code after disposal.

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • code-mode
  • quickjs
  • wasm
  • isolate
  • sandbox
  • code-execution

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-isolate-quickjs weekly downloads on npm, last 90 days: 23,767 weekly downloads as of Dec 5, 2026, +441% over 90 days.@tanstack/ai-isolate-quickjsWeekly downloads on npm · Last 90 days23,767downloads / week+441% over 90 days05K10K15K20K25K30KSep 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-isolate-quickjs weekly downloads on npm, last 90 days: 23,767 weekly downloads as of Dec 5, 2026, +441% over 90 days.

7/30/90-day growth

@tanstack/ai-isolate-quickjs weekly downloads growth on npm: +0.5% over 7 days, +3.0% over 30 days, +441% over 90 days.@tanstack/ai-isolate-quickjsWeekly downloads growth on npm23,767downloads / week now7-day growth+124 weekly downloads+0.5%30-day growth+684 weekly downloads+3.0%90-day growth+19,370 weekly downloads+441%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-isolate-quickjs weekly downloads growth on npm: +0.5% over 7 days, +3.0% over 30 days, +441% over 90 days.

Ranking history

@tanstack/ai-isolate-quickjs npm ranking history: currently #984 (by weekly downloads).@tanstack/ai-isolate-quickjsnpm ranking · by weekly downloads · Last 90 days#984current rank#900#950#1000#1050#1100#1150#1200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-isolate-quickjs npm ranking history: currently #984 (by weekly downloads).

Listing placement

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

Listing placement

AI SDKs378 listings · 19 pages · page 4, #8 (overall #68)
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 (170)
Recent weekly downloads observations for @tanstack/ai-isolate-quickjs
Date (UTC)Weekly downloadsChange vs. previous
23,767+61
23,706+445
23,261+2K
21,220-593
21,813-1.3K
23,132+127
23,005-638
23,643+635
23,008-517
23,525-2.8K
26,371-865
27,236+659
26,577-45
26,622—

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-isolate-quickjs. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.