@tanstack/ai-isolate-quickjs has 3,873 recorded weekly downloads on npm, a decrease of 47.8% over the past 30 days.
It ranks #1151 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -73.8%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About @tanstack/ai-isolate-quickjs
@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
Usage
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:
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 deps | None | Yes (C++ addon) | | Browser support | Yes | No | | Performance | Slower (interpreted) | Faster (V8 JIT) | | Memory limit | Configurable | Configurable | | Best for | Browser, edge, portability | Server-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
Where @tanstack/ai-isolate-quickjs sits in the listing
Each band is one page of 20. Weekly downloads on a log 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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.
Recent observations
Full history (121)Similar npm AI SDKs plugins
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 Oct 18, 2026. See the methodology.