# koute/stdweb

A standard library for the client-side Web

Repository: https://github.com/koute/stdweb
Canonical: https://ross.abutalabs.com/products/stdweb
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, javascript, web, gui, asmjs, emscripten, webassembly, webasm
Last push: 2024-02-28T12:11:10+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3461, "days_push": 917, "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 3453, forks 178 (observed 2026-08-28T04:08:05.351387+00:00)

## What it is
stdweb is a Rust crate providing bindings to client-side Web APIs and interoperability between Rust and JavaScript, targeting WebAssembly and asm.js via Emscripten. It lets you embed JavaScript in Rust, pass data via serde, and export Rust functions callable from JS.

## Use cases
- call web browser APIs from Rust
- compile Rust to WebAssembly for the browser
- embed JavaScript code inside Rust code
- export Rust functions to JavaScript
- pass Rust structs to JavaScript with serde
- build frontend apps in Rust

## When to choose
- you're maintaining an existing Rust/Wasm project already built on stdweb
- you need fine-grained, low-level Rust-JS interop with inline js! macros
- you target Emscripten or asm.js as well as WebAssembly

## When to avoid
- starting a new Rust web project - prefer wasm-bindgen/web-sys, which is the actively developed ecosystem standard
- you need broad, up-to-date coverage of modern Web APIs
- you need guaranteed ongoing maintenance and new feature development

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, frontend-framework, developer-tools
- domain: web-development, frontend, programming-languages
- platform: rust, wasm, browser
- tags: webassembly, javascript-interop, emscripten, asmjs, rust-to-js, web-apis, web-server

## Member repositories
- koute/stdweb (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.351387+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-29T18:37:33.101582+00:00, confidence not recorded.
  - readme: https://github.com/koute/stdweb (fetched 2026-08-28T04:08:05.351387+00:00, sha e4cea001668f)
  - registry_crates: https://crates.io/api/v1/crates/stdweb (fetched 2026-08-29T09:31:10.190149+00:00, sha 213cd22435fa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
