npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@silviomollov/ai-isolate-quickjs-wasm-location

v0.1.46-fork.1

Published

Temporary fork of @tanstack/ai-isolate-quickjs with configurable QuickJS WASM URL/path loading and promise-bridged host functions.

Readme

@silviomollov/ai-isolate-quickjs-wasm-location

Temporary fork of @tanstack/ai-isolate-quickjs 0.1.46 (MIT, © TanStack). This fork adds wasmLocation, allowing the synchronous QuickJS WASM binary to be served from a public directory or CDN. It also includes promise-bridged host functions instead of asyncify suspensions, fixing refcount corruption on repeated tool awaits (quickjs-emscripten#258).

Drop-in usage via npm alias: "@tanstack/ai-isolate-quickjs": "npm:@silviomollov/[email protected]"

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

Installation

Install directly:

pnpm add @silviomollov/ai-isolate-quickjs-wasm-location

Or install it as a drop-in replacement for the TanStack package:

pnpm add @tanstack/ai-isolate-quickjs@npm:@silviomollov/[email protected]

Usage

When installed through the alias:

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

const driver = createQuickJSIsolateDriver({
  timeout: 30_000,
  memoryLimit: 128,
  maxStackSize: 512 * 1024,
  wasmLocation: '/assets/quickjs/emscripten-module.wasm',
})

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

When installed directly, import from @silviomollov/ai-isolate-quickjs-wasm-location instead.

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

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.

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

Refreshing the Fork

From Git Bash, refresh the staged source and compiled output from the sibling ../ai repository and set the next package version:

./refresh.sh 0.1.46-fork.2

Set REPO_DIR if the source repository is elsewhere. The script builds and packs the package from the currently checked-out source branch.

Publishing

npm publish --access public

License

MIT