jco
JavaScript tooling for WebAssembly Components
TLDR
Transpile WASM component
$ jco transpile [component.wasm] -o [output/]
Create component from module$ jco componentize [module.wasm] -o [component.wasm]
Inspect component$ jco print [component.wasm]
Run component$ jco run [component.wasm]
Generate types$ jco types [component.wasm] -o [types/]
SYNOPSIS
jco command [options] file
DESCRIPTION
jco is JavaScript tooling for WebAssembly Components. It transpiles WASM components to JavaScript for browser/Node.js use.
The tool works with the component model standard. It generates JavaScript bindings and TypeScript definitions.
PARAMETERS
transpile FILE
Convert to JavaScript.componentize FILE
Create component from core module.print FILE
Print component info.run FILE
Execute component.types FILE
Generate TypeScript types.-o DIR
Output directory.--help
Display help information.
CAVEATS
Experimental WASM standard. Bytecode Alliance project. Node.js tool.
HISTORY
jco was created by the Bytecode Alliance as JavaScript tooling for the WebAssembly Component Model standard.
SEE ALSO
wasm-tools(1), wasmtime(1), wasm-bindgen(1)
