Elestia Open Source Ratings
5.7

quickjs-emscripten

Reasonable, with limits. 5th of 9 JavaScript runtimes.

quickjs-emscripten runs the small QuickJS engine, compiled to WebAssembly, inside another JavaScript program. It is the most portable way to run untrusted or agent-written code in a sandbox, on any runtime. It is not a general runtime like Node.js, Bun or Deno. It is slow because it has no JIT, and one maintainer keeps it up at a slowing pace while memory-limit bugs stay open.

Best for: Teams that need to run untrusted or AI-written JavaScript in a sandbox that works the same in Node, browsers and edge workers, with no native build.

WebsiteGitHubnpm

Scores

Overall5.7

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Among JavaScript runtimes it does a narrow job: embedding a sandbox inside an app, not running apps. For that job it is the most portable choice, and agent tools are adopting it. Slow maintenance, open memory-limit and memory-safety bugs, and interpreter-level speed keep it at a reasonable choice with real limits. Node, Bun and Deno rank well above it for the category's main job.

GPT-6.2 Sol: 6.3, likely 5.1 to 7.5

This is a reasonable pick for embedding short scripts across several JavaScript hosts. Node.js, Deno, and Bun cover general-purpose applications more completely. The sparse release cadence and open resource-handling reports weigh heavily for long-lived or multi-tenant workloads.

Needed by many3.3

How many developers need a tool for this job?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

Embedding a sandboxed engine inside an app is a clear niche of the runtime category. Most developers need Node, Bun or Deno instead. Agent code-execution features are widening the niche, which keeps the upper end of the range open.

GPT-6.2 Sol: 3.5, likely 2.4 to 4.7

Running JavaScript outside the browser is common, and Node.js leads regular runtime use in State of JavaScript. This package serves the smaller group that needs to run JavaScript inside an existing app, such as for plugins or workflow expressions. Its portability widens that niche, though the survey gives no direct estimate of its size.

Helps a lot6.6

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 4.5 to 7.0

For portable sandboxing it is the most complete WebAssembly option. It supports async host functions through asyncify, interrupts, memory limits, several engine variants, and it ships types. It runs much slower than V8 and needs manual disposal of every handle. Open issues show that memory limits and out-of-memory handling are not reliable against hostile code.

GPT-6.2 Sol: 7.2, likely 6.0 to 8.4

Version 0.32.0 has a typed API for isolated contexts, host callbacks, and module loading, with clear examples for simple evaluations. Explicit handle disposal and promise-job handling make richer integrations easier to get wrong. A comparison by the maintainers of Secure Exec found low call overhead and several-fold slower execution on compute-heavy cases, so the fit depends on the workload.

Holds up over time4.4

Will it still be a good choice in two years?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

The project is mostly one maintainer's work. There were 11 commits in the last year, the last push was in July 2026, and 0.32.0 in February 2026 was the only release. Memory-safety and build issues are piling up without answers, and 22 pull requests are open. New demand from AI agent tools could bring more help or a fork, but alternatives such as quickjs-wasi also compete for that demand.

  • github commitsLastYear: 11 commits in the last year, and no GitHub releases.
  • npm versionsLastYear: One release in the last year (0.32.0, February 2026).
  • github openPullRequests: 22 open pull requests against 88 merged.
  • github.com/justjake/quickjs-emscripten/issues: Build break against quickjs-ng 0.16.0 open since August 2026.

GPT-6.2 Sol: 4.3, likely 2.9 to 5.8

The project recorded 11 commits and one npm release in the past year, with the latest package published in February 2026. The maintainer describes it as spare-time work, and the June QuickJS engine update is still an open pull request. Outside contributors are proposing fixes, but the release cadence and the wait for upstream updates make future support hard to predict.

Used widely4.7

How many use it, and is that growing?

Claude Opus 5.5: 5.5, likely 4.0 to 7.0

Downloads rose 36 times in a year, from 0.5M to 18.3M per 4 weeks, far above the median ratio of 4.1. Most of that likely comes from AI agent frameworks that install it for their code-execution features, so it is not direct choice. ecosyste.ms counts only 68 dependent repositories, which points to a few thousand direct users, though the number is growing fast.

  • npm downloadsLast4Weeks: 18.3M, against 0.5M a year ago: a 36-times rise.
  • dependents: 68 repositories and 38 packages, small next to the peers.
  • vercel.com/blog/introducing-run: QuickJS-based code mode in agent tools, a likely source of the transitive installs.

GPT-6.2 Sol: 3.8, likely 2.4 to 5.3

Four-week installs rose from 0.50 million to 18.3 million, about 36.5 times the prior-year count against a catalog median of 4.1 times. The index found 68 dependent repositories and 38 packages, far fewer than for workerd or Edge Runtime. Automated and indirect installs can amplify the rise, while downstream switches to the separately published core package make direct adoption hard to estimate.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Install growth well above the catalog baseline
  • dependents and peers dependentRepos: 68 tracked repos against 3,416 for workerd and 2,769 for Edge Runtime
  • github stars and bluesky posts: 1,748 stars and no matched Bluesky posts
  • github.com/n8n-io/n8n/pull/43363: n8n switched from the main package to core and one build
Vouched for5.8

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 3.5 to 6.5

Agent frameworks and wrappers build on QuickJS in WebAssembly, and some build on this package directly, which shows real production trust. Independent comparisons list it as the portable sandbox option, but I found no security audit. It has no Hacker News or Bluesky attention, and I could not confirm every adopter's exact dependency.

GPT-6.2 Sol: 6.5, likely 5.2 to 7.7

n8n ships it as a workflow expression engine option and defaults to a V8 isolate on the backend. MiLaboratory's Platforma also updated its desktop app to 0.32.0. These are concrete downstream uses, while broad satisfaction data and performance results across varied workloads remain sparse.

Safe5.1

How safe is it to depend on?

Claude Opus 5.5: 5.5, likely 4.0 to 7.0

There are no OSV advisories, the licence is MIT, and it has only a few dependencies, which are its own variant packages. The WebAssembly boundary limits how far a bug can reach. Against that, the OpenSSF Scorecard is 3.9, with zeros for Maintained, Security-Policy, Pinned-Dependencies and SAST. Memory-safety bugs that sandboxed code can reach, including a use-after-free on out-of-memory, are open with no fix released.

  • advisories total: No known advisories.
  • scorecard score: 3.9, with no security policy and no SAST.
  • github.com/justjake/quickjs-emscripten/issues: Open use-after-free on OOM, reachable from untrusted code.
  • npm dependencies: 5 dependencies, all its own variant packages.

GPT-6.2 Sol: 4.6, likely 3.2 to 6.1

The MIT package has five direct dependencies from the same project, a strong fuzzing check, and zero OSV advisories in the snapshot. Its 3.9 Scorecard shows weak review and workflow controls, and GitHub lists no security policy. Users have reported memory-limit failures and a crash in the default engine build, while the number of people able to publish and the release provenance remain unclear.

Good

  • It is pure WebAssembly with no native build step, so the same sandbox runs in Node, Deno, Bun, browsers and edge workers.
  • The sandbox has no Node builtins unless you add them, and it supports interrupt handlers and memory limits.
  • A sandbox is cheap in memory (about 4-12 MB, against 30-60 MB for isolated-vm), so you can keep many small ones running.
  • It ships TypeScript types, and AI agent frameworks now use it for their code-execution (code mode) features.

Bad

  • It is an interpreter with no JIT, so CPU-heavy code runs 10-20 times slower than in V8-based options.
  • You must dispose of every handle by hand, and a forgotten one leaks memory.
  • Open issues report that setMemoryLimit does not cap a runtime's total memory, plus a use-after-free on out-of-memory.
  • Work has slowed: 11 commits and one npm release in the last year, no GitHub releases, and a build break against quickjs-ng 0.16.0 that is still open.

The numbers

npm downloads, 4 weeks
18M ×37 in a year
GitHub stars
1.7k
Commits, 12 months
11
npm version
0.32.0 Feb 2026
Versions, 12 months
1
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.9 out of 10, Nov 2026
Licence
MIT

The QuickJS engine compiled to WebAssembly, to run JavaScript inside another JavaScript program.

Read on 21 November 2026 from GitHub (justjake/quickjs-emscripten), npm (quickjs-emscripten), OSV and the OpenSSF Scorecard.

JavaScript runtimes

  1. 9.2Node.js
  2. 7.8Bun
  3. 7.2workerd
  4. 6.7Hermes
  5. 5.7quickjs-emscripten
  6. 5.6Bare
  7. 5.0txiki.js
  8. 3.9Deno
  9. 3.0Edge Runtime
Compare all 9 on six scores