# drogus/jawsm

JavaScript to WASM compiler

Repository: https://github.com/drogus/jawsm
Canonical: https://ross.abutalabs.com/products/jawsm
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: javascript, wasm, webassembly
Last push: 2025-04-06T00:57:20+00:00

## Health v2 (maintenance only)
Score: 29/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 15, release rhythm 35, longevity 48
- inputs: {"age_days": 682, "days_push": 515, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1102, forks 22 (observed 2026-08-28T04:03:35.923097+00:00)

## What it is
Jawsm is an experimental JavaScript to WebAssembly compiler written in Rust that produces standalone WASM binaries executable without bundling an interpreter. It aims to eventually support 100% of JavaScript by leveraging modern WASM proposals, though it currently passes only about 25% of the test262 suite.

## Use cases
- compile javascript to a standalone wasm binary
- run javascript code inside a wasm runtime without an interpreter
- write wasm scenarios in javascript instead of rust
- reduce wasm binary size compared to embedding a js interpreter
- compile js to wasm targeting wasip2
- experiment with compiling javascript using modern wasm proposals

## When to choose
- you need small, standalone WASM binaries from JavaScript source without shipping an interpreter
- you're writing WASM scenarios (e.g. for Crows) and prefer JavaScript over Rust
- you want to experiment with cutting-edge WASM proposals like WASIp2
- you can tolerate missing language features and incomplete builtins

## When to avoid
- you need production-ready, spec-compliant JavaScript compilation today
- your code relies on RegExp, BigInt arithmetic, or most builtin methods
- you need binaries portable across many WASM runtimes
- you need a stable, well-supported toolchain for a real project

## Facets
- artifact type: cli-tool
- maturity: experimental
- function: compiler, interpreter, developer-tools
- domain: compilers, programming-languages, web-development, developer-tools
- platform: wasm, rust, cross-platform
- tags: javascript-to-wasm, webassembly, wasm-proposals, wasi, test262, standalone-wasm-binary, no-interpreter

## Member repositories
- drogus/jawsm (main) score 29

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:35.923097+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:59.475011+00:00, confidence not recorded.
  - readme: https://github.com/drogus/jawsm (fetched 2026-08-28T04:03:35.923097+00:00, sha f40522e86c46)
- Data as of 2026-08-30T08:39:29.467469+00:00.
