wasm2js

command module
v0.0.0-...-d2f6f6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

README

Web Assembly bytes to JavaScript variable converter

Converts an Web Assembly file to a Javascript variable data in raw hexadecimal. Actually clone every byte from an input file to an output data Javascript variable with plain hexadecimal representation.

Requirement

  • Go v1.17

Installation

  1. Clone
git clone https://github.com/AureClai/wasm2js
  1. Build
cd wasm2js
go build .

Usage

Without output path
wasm2js_executable <papth/to/input_file.wasm>
With output path
wasm2js_executable papth/to/input_file.wasm -o path/to/output_file.js

To do

  • Testing

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL