
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
WASM Tools is a collection of useful tools for working with WASM and its accompanying text format, WAT, in JavaScript. The tools are based on esbuild and wabt.
wasm-to-js (alias wat-to-js)Convert a WASM or WAT module to a JavaScript module.
Usage: wasm-to-js [options] <input>
Arguments:
input the WASM or WAT module to convert to a JavaScript
module
Options:
-V, --version output the version number
-f, --format <format> the module format to use (choices: "esm", "cjs",
"iife", default: "esm")
-p, --platform <platform> the platform to bundle for (choices: "browser",
"node", "neutral", default: "browser")
-s, --sync synchronously load the WASM in the resulting
module
-m, --minify minify the the resulting module
-h, --help display help for command
wasm-to-watConvert a WASM module to a WAT module.
Usage: wasm-to-wat [options] <input>
Arguments:
input the WASM module to convert to a WAT module
Options:
-V, --version output the version number
-h, --help display help for command
wat-to-wasmConvert a WAT module to a WASM module.
Usage: wat-to-wasm [options] <input>
Arguments:
input the WAT module to convert to WASM module
Options:
-V, --version output the version number
-h, --help display help for command
FAQs
A collection of useful tools for working with WASM/WAT in JavaScript
The npm package wasm-tools receives a total of 28 weekly downloads. As such, wasm-tools popularity was classified as not popular.
We found that wasm-tools demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.