git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: 46e04c98fc3dc5aa69dc36fe9176ddc702784118

Files: 46e04c98fc3dc5aa69dc36fe9176ddc702784118 / 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