{
"repo": "wasm-tools",
"timestamp": "2026-01-16T23:56:03.590Z",
"entryPoint": "index.js",
"exports": {
"packageJson": {
"main": "index.js"
}
},
"api": {},
"readme": {
"content": "# WASM Tools\n\nWASM 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](https://esbuild.github.io) and [wabt](https://github.com/WebAssembly/wabt).\n\n## Installation\n\n```sh\nnpm install wasm-tools\n```\n\n## Tools\n\n### `wasm-to-js` (alias `wat-to-js`)\n\nConvert a WASM or WAT module to a JavaScript module.\n\n#### Usage\n\n```sh\nUsage: wasm-to-js [options] <input>\n\nArguments:\n input the WASM or WAT module to convert to a JavaScript\n module\n\nOptions:\n -V, --version output the version number\n -f, --format <format> the module format to use (choices: \"esm\", \"cjs\",\n \"iife\", default: \"esm\")\n -p, --platform <platform> the platform to bundle for (choices: \"browser\",\n \"node\", \"neutral\", default: \"browser\")\n -s, --sync synchronously load the WASM in the resulting\n ",
"sections": [
"intro",
"installation",
"tools"
],
"hasApi": false,
"hasExamples": true,
"exampleCount": 3,
"examples": [
"## Tools\n\n### `wasm-to-js` (alias `wat-to-js`)\n\nConvert a WASM or WAT module to a JavaScript module.\n\n#### Usage",
"### `wasm-to-wat`\n\nConvert a WASM module to a WAT module.\n\n#### Usage",
"### `wat-to-wasm`\n\nConvert a WAT module to a WASM module.\n\n#### Usage"
]
},
"patterns": []
}