# AssemblyScript/assemblyscript

A TypeScript-like language for WebAssembly.

Repository: https://github.com/AssemblyScript/assemblyscript
Canonical: https://ross.abutalabs.com/products/assemblyscript
Homepage: https://www.assemblyscript.org
Language: WebAssembly
License: Apache-2.0
License Family: permissive
Topics: typescript, webassembly, compiler, assemblyscript, wasm
Last push: 2026-07-22T02:56:30+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 94, longevity 100
- inputs: {"age_days": 3261, "days_push": 42, "days_rel": 42, "gap_med": 13.5, "n_releases_24m": 29}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 17993, forks 693 (observed 2026-08-28T04:11:20.805548+00:00)

## What it is
AssemblyScript is a compiler that translates a TypeScript-like language with WebAssembly types into lean WebAssembly modules, built on Binaryen. It integrates with the JavaScript/npm ecosystem so web developers can write WebAssembly without learning a new language.

## Use cases
- compile typescript-like code to webassembly
- write wasm modules without learning rust or c
- build high-performance browser modules from javascript
- generate lean wasm binaries via npm
- access low-level webassembly memory and instructions from a familiar syntax
- add webassembly to an existing web project

## When to choose
- you know TypeScript/JavaScript and want to target WebAssembly
- you want a lightweight npm-based toolchain with no heavy native dependencies
- you need low-level control over WebAssembly features and memory

## When to avoid
- you need full TypeScript compatibility or dynamic JavaScript semantics
- you target platforms other than WebAssembly
- you require a mature GC-based language runtime with extensive libraries

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, wasm, programming-language, cli, developer-tools
- domain: compilers, programming-languages, web-development, frontend, developer-tools
- platform: wasm, browser, cli, cross-platform
- tags: assemblyscript, typescript-to-wasm, binaryen, webassembly-compiler, npm-toolchain, nodejs

## Member repositories
- AssemblyScript/assemblyscript (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:20.805548+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:09:36.050255+00:00, confidence not recorded.
  - readme: https://github.com/AssemblyScript/assemblyscript (fetched 2026-08-28T04:11:20.805548+00:00, sha ddc6ddf6e420)
  - homepage: https://www.assemblyscript.org (fetched 2026-08-29T08:00:18.526768+00:00, sha 223c78cdb820)
  - site_page: https://www.assemblyscript.org/getting-started.html (fetched 2026-08-29T08:00:18.538232+00:00, sha fa326dff4b33)
  - site_page: https://www.assemblyscript.org/introduction.html (fetched 2026-08-29T08:00:18.536055+00:00, sha a9a25e527207)
- Data as of 2026-08-30T08:39:29.467469+00:00.
