ghc-wasm-bindgen: JavaScript/TypeScript bindings for GHC's WASM backend
[ development, javascript, library, mit, program, web, webassembly ]
[ Propose Tags ]
[ Report a vulnerability ]
Generate JavaScript and TypeScript bindings for a pure Haskell module compiled with GHC's WebAssembly backend. Exported functions are exposed as typed JavaScript functions, and exported data types as TypeScript types with constructor functions.
See the README for supported types and usage.
[Skip to Readme]
Modules
- GhcWasmBindgen
- GhcWasmBindgen.EmitHaskell
- GhcWasmBindgen.EmitJavaScript
- GhcWasmBindgen.Inspect
- GhcWasmBindgen.Model
Downloads
- ghc-wasm-bindgen-0.3.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.3.0.0 |
|---|---|
| Dependencies | base (>=4.20 && <4.21), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.8), directory (>=1.3.8 && <1.4), file-embed (>=0.0.15 && <0.1), filepath (>=1.4.100 && <1.6), ghc (>=9.10 && <9.11), ghc-paths (>=0.1.0.12 && <0.2), ghc-wasm-bindgen, process (>=1.6.17 && <1.7), text (>=2.0 && <2.2) [details] |
| Tested with | ghc ==9.10.3 |
| License | MIT |
| Copyright | 2026 Joaquín Rossi |
| Author | Joaquín Rossi |
| Maintainer | joaquin@joaquinrossi.net |
| Uploaded | by joaquinrossi at 2026-11-10T20:38:46Z |
| Category | Web, WebAssembly, JavaScript, Development |
| Home page | https://github.com/joaquin-rossi/ghc-wasm-bindgen |
| Bug tracker | https://github.com/joaquin-rossi/ghc-wasm-bindgen/issues |
| Source repo | head: git clone https://github.com/joaquin-rossi/ghc-wasm-bindgen.git |
| Distributions | |
| Executables | ghc-wasm-bindgen |
| Downloads | 7 total (7 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs not available [build log] All reported builds failed as of 2026-11-10 [all 2 reports] |