git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: aef03b94be635e5d746e19e5f5e3af0a7fa3ec0f

Files: aef03b94be635e5d746e19e5f5e3af0a7fa3ec0f / 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