Skip to content
wasm-fmtPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

wasm-fmt Bridge

Bridge provides a shared WebAssembly ABI, formatter development kits, and a JavaScript host runtime for code formatters.

It supports whole-file, range, and synchronous embedded-language formatting. Formatter configuration stays opaque to the ABI: each formatter defines its own encoding and decoding. Package versions are independent of the Bridge ABI v1 wire version.

Packages

Package Purpose
wasm-fmt-fdk Rust formatter development kit, including procedural macros
Go FDK Go formatter development kit for TinyGo Wasm guests
@wasm-fmt/runtime JavaScript host runtime and formatter composition
@wasm-fmt/bindgen JavaScript bindings generator for compiled formatters

See each package's README for installation, usage, and supported toolchains. The ABI specification defines the wire format and instance ownership contract.

Development

mise run check
mise run test
mise run package:check

See RELEASING.md for version management and publishing, and CHANGELOG.md for release history.

License

Licensed under MIT or Apache-2.0, at your option.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages