git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: 92fb09c87c224982aa17e3fa025810620e571b26

Files: 92fb09c87c224982aa17e3fa025810620e571b26 / 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