LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jco

JavaScript tooling for WebAssembly Components

TLDR

Transpile WASM component
$ jco transpile [component.wasm] -o [output/]
copy
Create component from module
$ jco componentize [module.wasm] -o [component.wasm]
copy
Inspect component
$ jco print [component.wasm]
copy
Run component
$ jco run [component.wasm]
copy
Generate types
$ jco types [component.wasm] -o [types/]
copy

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid