@tanstack/ai-isolate-node has 14,446 recorded weekly downloads on npm, a decrease of 28.9% over the past 30 days, ranking #1150 of 3,247 tracked listings.
About @tanstack/ai-isolate-node
@tanstack/ai-isolate-node
Node.js V8 isolate driver for TanStack AI Code Mode. Uses isolated-vm for fast, secure sandboxed execution.
Requirements
- Node.js >= 22 (matches
isolated-vm's engine constraint) - Native compilation toolchain (the
isolated-vmpackage compiles a native addon) - Pass
--no-node-snapshotwhen runningnode(required byisolated-vmon every supported Node.js version)
Installation
pnpm add @tanstack/ai-isolate-node
Usage
import { createNodeIsolateDriver } from '@tanstack/ai-isolate-node'
import { createCodeModeTool } from '@tanstack/ai-code-mode'
const driver = createNodeIsolateDriver({
timeout: 30000, // execution timeout in ms (default: 30000)
memoryLimit: 128, // memory limit in MB (default: 128)
})
const executeTypescript = createCodeModeTool({
driver,
tools: [myTool],
})
Config Options
timeout— Default execution timeout in milliseconds (default: 30000)memoryLimit— V8 isolate memory limit in MB (default: 128)
createContext() can override these defaults per execution context via IsolateConfig (timeout, memoryLimit).
How It Works
Each execute_typescript call creates a fresh V8 isolate via isolated-vm. Tool bindings are injected as global async functions. Console output is captured into execution logs, and the isolate is disposed after execution completes for full cleanup.
License
MIT
Description from the npm listing.
- ai
- ai-sdk
- typescript
- tanstack
- code-mode
- nodejs
- isolated-vm
- 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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm AI SDKs plugins
All 20 @tanstack/ai-isolate-node alternativesData 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-node. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.