txiki.js
Reasonable, with limits. 7th of 9 JavaScript runtimes.
txiki.js is a small JavaScript runtime built on QuickJS-ng and libuv. It ships as a static binary of about 5–6 MB and offers web-standard APIs, FFI, SQLite and WASI. It is actively developed and fits niche jobs like tiny CLIs and embedded tools. It does not run the npm/Node ecosystem, so most projects should pick Node.js, Bun or Deno.
Best for: Developers who need a tiny, self-contained JavaScript binary for CLIs, embedded devices or small apps, and who do not need npm or Node APIs.
Scores
Overall5.0
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
It is a well-maintained, actively growing tiny runtime that is a good fit when binary size matters and npm does not. For most new projects, Node.js, Bun or Deno do the job far better, with ecosystem support, speed and validation. It reliance on a single maintainer, frequent breaking changes and thin outside evidence keep it low in the category.
- github.com/saghul/txiki.js/releases: Active development with frequent breaking changes.
- code.saghul.net/2026/03/txiki-js-26-3-0: Its scope is small, static and web-standard.
- peers stars: Node, Deno and Bun each have about 100k stars.
GPT-6.2 Sol: 6.0, likely 4.8 to 7.1
txiki.js earns a place on the shortlist when a small executable and built-in SQLite or networking matter. Node.js LTS is the stronger default for general-purpose projects because of its package compatibility and support schedule. Active development supports choosing txiki.js for its niche, while concentrated release ownership and a limited deployment record widen the range.
- txikijs.org/docs/guides/standalone-executables: The runtime packages applications into standalone binaries.
- github.com/saghul/txiki.js/releases/tag/v26.11.0: The current stable release ships substantial networking and runtime improvements.
- github.com/saghul/txiki.js/releases: Recent releases show ongoing work and concentrated publishing.
- tinyjs.app/docs/txiki: A current downstream integration demonstrates the desktop use case and package constraints.
- nodejs.org/en/about/previous-releases: Node.js publishes an LTS schedule with defined maintenance windows.
Needed by many3.3
How many developers need a tool for this job?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
Almost every JS developer needs a runtime. But this project's take, a tiny QuickJS runtime without Node compatibility, serves a clear niche: small binaries, embedded use and lightweight CLIs. Most web and server projects need the npm ecosystem, which it cannot run.
- code.saghul.net/2026/03/txiki-js-26-3-0: It targets web and WinterTC-style APIs, not Node compatibility.
- linuxlinks.com/txiki-js-tiny-javascript-runtime: Describes it as a small runtime for system tasks.
GPT-6.2 Sol: 3.6, likely 2.5 to 4.7
Running JavaScript outside the browser is common. txiki.js mainly serves developers who need a compact executable or a lightweight host for scripts. It runs on the major desktop operating systems, though the share of projects that can use its APIs in place of Node.js APIs is hard to estimate.
- 2025.stateofjs.com/en-US/other-tools: Node.js led runtime use among survey respondents, followed by Bun among server-side alternatives.
- txikijs.org/docs/getting-started: Documents desktop platform support and compact executable packaging.
- tinyjs.app/docs/txiki: A desktop framework uses txiki.js and documents its Node.js compatibility limits.
Helps a lot5.6
How well does it do the job for those who need it?
Claude Opus 5.5: 4.5, likely 3.5 to 6.0
For its niche it is capable: web APIs, an HTTP server, FFI, SQLite, WASI, standalone binaries and HTTP/3. But it has no JIT, no Intl, no Node or npm compatibility, and little documentation or AI-agent familiarity compared with Node, Bun and Deno. Bare and quickjs-emscripten compete for nearby niches.
- github.com/saghul/txiki.js/releases: A rich feature list across the 2026 releases.
- github.com/tarwin/tinyjsapp/wiki: A user project notes that Intl is missing.
- QuickJS-ng engine: An interpreter with no JIT, slower than V8 or JSC.
GPT-6.2 Sol: 6.7, likely 5.5 to 7.8
Version 26.11.0 combines standalone packaging, SQLite, Web APIs, and HTTP/2 and HTTP/3 support. Official types and source-mapped errors help developers and coding agents check their work, although TypeScript needs a build step and Node.js-specific code needs porting. Independent measurements support the small footprint, with limited evidence on throughput for current applications.
- github.com/saghul/txiki.js/releases/tag/v26.11.0: Adds HTTP/2 and HTTP/3 and fixes worker, Fetch, and console behavior.
- txikijs.org/docs/typescript: Official declarations are published as @txikijs/types and execution requires transpilation.
- txikijs.org/docs/guides/code-bundling: Documents esbuild integration and source-mapped stack traces.
- tinyjs.app/docs/txiki: Downstream documentation identifies missing Node.js globals and built-ins.
- github.com/ahaoboy/js-engine-benchmark/blob/main/README.md: Comparative measurements show a small executable and lower scores on several compute tests for an older txiki.js build.
Holds up over time5.6
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
The project is very active: 525 commits, 8 releases in the last year, the latest on 2026-11-01, and issues are handled well (21 open, 268 closed). But it rests mostly on one maintainer and has no stated funding. Breaking changes land in many releases, which costs users effort at each upgrade.
- github commitsLastYear: 525 commits in the last year.
- github releasesLastYear: 8 releases; latest v26.11.0.
- github.com/saghul/txiki.js/releases: Repeated breaking API changes.
- github contributors: 55 contributors, one lead.
GPT-6.2 Sol: 6.2, likely 4.8 to 7.5
Eight releases, 525 commits in the past year, and a same-day maintainer response to an embedder show active development. Releases still concentrate around one visible publisher, with a gap from June to November and limited public evidence of funded maintenance. Recent changes to native library bindings show that upgrades can require code changes.
- github.commitsLastYear, github.releasesLastYear, github.pushedAt: 525 commits, eight releases, and a November 15 push.
- github.com/saghul/txiki.js/releases: Release history shows the main publisher and the June-to-November gap.
- github.com/saghul/txiki.js/issues/1067: The maintainer replied the same day and welcomed incremental embedding changes.
- github.com/saghul/txiki.js/pull/1054: The FFI refactor made dlopen the sole public library-binding entry point.
Used widely2.0
How many use it, and is that growing?
Claude Opus 5.5: 1.5, likely 1.0 to 2.5
It has 3.3k stars, a single Bluesky post (from the maintainer), and no Hacker News story since 2021. The npm package is a stale placeholder with 66 downloads, which says little because users install the binary from GitHub, Homebrew, WinGet or Scoop. It likely has hundreds to a few thousand users, far below every major peer.
- github stars: 3,328 stars.
- npm downloadsLast4Weeks: 66 downloads; the package is not the real distribution.
- bluesky posts: 1 post, by the maintainer.
- hn.algolia.com/api/v1/search?query=txiki&tags=story: Only one real HN story, from 2021 (96 points).
GPT-6.2 Sol: 2.5, likely 1.1 to 4.0
The repository has 3,328 stars, but its single tracked Bluesky post came from the maintainer and attention trails even Bare on that measure. Downloads rose from 20 to 66, or 3.3 times versus the catalog median of 4.1 times, a weak relative signal from an old npm package. GitHub releases and system package managers account for installs outside npm, and the missing dependent count leaves actual adoption and growth uncertain.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio, project.note: The older npm package grew 3.3 times against a 4.1-times catalog median.
- github.stars, bluesky.posts, bluesky.top, dependents, peers: 3,328 stars, one maintainer post versus seven posts for Bare, and no indexed dependent count.
- txikijs.org/docs/getting-started: The runtime is distributed through GitHub and system package managers.
- tinyjs.app/docs/txiki: tinyjs ships the current txiki.js runtime as its backend.
Vouched for3.1
Who stands behind it being good?
Claude Opus 5.5: 2.0, likely 1.0 to 3.5
No well-known company or framework is known to run it in production. Outside evidence is thin: a FOSDEM 2022 talk, directory listings, and a small Show HN app (tinyjs) built on it. It has no survey presence and no independent benchmarks.
- archive.fosdem.org/2022/schedule/event/building_a_tiny_javascript_runtime_with_quickjs: A conference talk by the author.
- github.com/tarwin/tinyjsapp/wiki: A small third-party app built on it.
- linuxlinks.com/txiki-js-tiny-javascript-runtime: A feature overview, not a test.
GPT-6.2 Sol: 4.1, likely 2.8 to 5.5
tinyjs ships txiki.js, and Capsid's author credits it with making an embedded runtime practical while describing hooks that still required downstream changes. User measurements support the small footprint on specific builds. Evidence from large production deployments and developer satisfaction surveys remains sparse.
- tinyjs.app/docs/txiki: A desktop application framework ships version 26.11.0.
- github.com/saghul/txiki.js/issues/1067: Capsid's author describes shipped use, upstream fixes, and missing embedding hooks.
- github.com/saghul/txiki.js/discussions/954: A user measured binary size and startup across several build configurations.
- 2025.stateofjs.com/en-US/other-tools: The runtime survey gives txiki.js no separate result.
Safe6.0
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
It is MIT licensed and has no known advisories. But it is a C runtime that bundles many native libraries (libuv, MbedTLS, libwebsockets, WAMR, SQLite), so its attack surface is real. It has no Scorecard and has had little security scrutiny. Releases do include dependency security bumps, which is a good sign.
- advisories total: 0 advisories.
- scorecard: No OpenSSF Scorecard.
- github.com/saghul/txiki.js/releases: v26.11.0 includes security dependency bumps.
- github license: MIT.
GPT-6.2 Sol: 6.0, likely 4.5 to 7.4
The runtime is MIT-licensed, and GitHub Actions builds and publishes release archives with SHA-256 digests. The runtime bundles native libraries, including the JavaScript engine and TLS stack, and the November release includes memory-safety fixes. The advisory snapshot is empty, and the repository has no published security policy or supplied OpenSSF Scorecard, which limits confidence in its security track record.
- github.license, advisories.total, scorecard, npm.dependencies: MIT licence, zero recorded advisories, and no Scorecard. Zero npm dependencies refers to the older package.
- raw.githubusercontent.com/saghul/txiki.js/v26.11.0/.github/workflows/release.yml: Tag-triggered GitHub Actions workflow builds and publishes the binaries.
- github.com/saghul/txiki.js/releases/expanded_assets/v26.11.0: GitHub lists SHA-256 digests for the release binaries.
- github.com/saghul/txiki.js/blob/v26.11.0/.gitmodules: Native dependencies include QuickJS-ng, Mbed TLS, and libwebsockets.
- github.com/saghul/txiki.js/releases/tag/v26.11.0: Release notes record memory-safety fixes and updates to native dependencies.
- github.com/saghul/txiki.js/security: GitHub shows a private reporting option and no published security policy.
Good
- It builds very small static executables, about 5–6 MB, on Linux, macOS and Windows, and `tjs compile` and `tjs bundle` make standalone binaries.
- It ships many web-standard APIs: fetch, Web Streams, WebSocket, WebCrypto, EventSource, plus HTTP/2 and HTTP/3 in v26.11.
- Batteries are included: an HTTP/WebSocket server that works with Hono, SQLite, FFI, WASI through WAMR, and a test runner.
- Development is very active, with 525 commits and 8 releases in the last year.
Bad
- It has no Node.js API compatibility, so most npm packages and frameworks will not run on it.
- QuickJS is an interpreter without a JIT, so heavy workloads run much slower than on V8 or JavaScriptCore runtimes.
- Breaking API changes come often, such as the FFI refactor, removed globals and renamed `tjs` APIs.
- One person maintains it as a side project, and few users report on it in public; it also lacks Intl.
The numbers
- npm downloads, 4 weeks
- 66
- GitHub stars
- 3.3k
- Commits, 12 months
- 525
- npm version
- 0.1.13 Jul 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The npm package is from July 2025 and is older than the runtime’s own releases on GitHub.
Read on 21 November 2026 from GitHub (saghul/txiki.js), npm (txiki.js), OSV and the OpenSSF Scorecard.