git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: 609307921c4c0a7292513248cc13f16b199ec5f0

Files: 609307921c4c0a7292513248cc13f16b199ec5f0 / 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