git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: d48b7065a388045f96fc7be1588e12150b8de8bb

Files: d48b7065a388045f96fc7be1588e12150b8de8bb / tests / mergeSections.js

342 bytesRaw
1const {wasm2json} = require('wasm-json-toolkit')
2const customTypes = require('../customTypes')
3const fs = require('fs')
4
5function main () {
6 const wasm = fs.readFileSync('./wasm/funcRef_caller.wasm')
7 const json = wasm2json(wasm)
8 const output = customTypes.mergeTypeSections(json)
9 console.log(JSON.stringify(output, null, 2))
10}
11
12main()
13

Built with git-ssb-web