{"_id":"redstone-wasm-json-toolkit","_rev":"7-ee57a573b4d1c2e425fc46dfe3daad75","name":"redstone-wasm-json-toolkit","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"redstone-wasm-json-toolkit","version":"1.0.0","description":"RedStone implementation of wasm-json-toolkit","main":"index.js","scripts":{"coveralls":"npm run coverage && nyc report --reporter=text-lcov | coveralls","coverage":"nyc npm test","lint":"standard","test":"node ./test/index.js"},"keywords":["wasm","cli"],"author":{"name":"Redstone Team","email":"dev@redstone.finance"},"license":"MPL-2.0","dependencies":{"buffer-pipe":"0.0.3","leb128":"0.0.4","redstone-isomorphic":"^1.1.0"},"bin":{"wasm2json":"bin/wasm2json","json2wasm":"bin/json2wasm"},"devDependencies":{"coveralls":"^3.0.1","nyc":"12.0.2","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"git+https://github.com/redstone-finance/redstone-wasm-json-toolkit.git"},"bugs":{"url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit/issues"},"homepage":"https://github.com/redstone-finance/redstone-wasm-json-toolkit","standard":{"ignore":["test/wabt"]},"gitHead":"da3a2d59f7515c8a7c7ee0d8719b6ad3fad102cc","_id":"redstone-wasm-json-toolkit@1.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-N07LnP0CkjBWAuYDuiz/pzlJVLHIEcLQjoKk2Bzfga6vuLo+dNZhPrD8cDr8HtYZHeV6oKaPxe/eFnf5n0JmSQ==","shasum":"e7f0bf39c4566d445769ac6626351ce2512b61cb","tarball":"https://registry.npmjs.org/redstone-wasm-json-toolkit/-/redstone-wasm-json-toolkit-1.0.0.tgz","fileCount":12,"unpackedSize":40036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJhnZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLRxAAmZlXsSltdrSNSSlXgjYUM5BdDQ/mysKfaCRDfvgUDv2uGSvu\r\n0jRarXOGPW+rSNICWd86uQi2mckZRacQb7S7oateVyAI2Hjby4szti5T9JBA\r\ndEXamSi9uNGijznAvxj2mLfkduXaSaoudxG73ykaLNwqJbcrkwXgnXo0vL55\r\nOxqJLteckTF8Hh5Q0ie0QpQl5ZlXuzqz3wGAQYCYNw8NWkgWE8YFIkDHAHEk\r\nFF0bE/vakHiz8EepoX+ME3y8668gM8+i2hd8cBNwwiU2WtsCtcCoqfWXTbe6\r\nOjU9DT1dtDVNY7odGq5tiG/9lrrPQznIRXabotdvnhdg/Cd4iQGjfa9Hvshj\r\n4tmDA5i1A/NnfKDzMDV9e+oaYrsSh0uOwOfwWYALhn8ZDkvGAZsydLmjBK8s\r\ntCnU+gIJcTKWc5jiVsnGZCwnGqztoXYmTHxXdLHwJK/ujGQzeDSLCs87D6j2\r\n+0Tqvp1m/2O9vEyQM+64yzNCZ+NzGS/vsHhlyNvxwDWxmYa+qZDvx4rh3MDz\r\nfNSiLY8dUeMwwlNnyeGquTtw8jYGosXeX6YXb0bFCv7HLYaApRGyx4eJYO/g\r\njWDWXP0rT42uFeUoaPCuuVq1GsBJq265wn6jbXPSTkUXzQ8a9f+iAjZinU8G\r\njWVeXTg6xVnl5E2pvXTl7h/Ne7jpHpYjq6c=\r\n=lqzn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh/iTe7lqeGC/3J7RpjSVyvx7BqiHm5C9ClM/nQQ5HNwIhAO+XHeGxtHzt6zdW7EdAB1vQRMlFhkBNWkHQQiaJigWC"}]},"_npmUser":{"name":"redstone-finance","email":"dev@redstone.finance"},"directories":{},"maintainers":[{"name":"redstone-finance","email":"dev@redstone.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redstone-wasm-json-toolkit_1.0.0_1646664153029_0.7874686806206888"},"_hasShrinkwrap":false,"deprecated":"redstone-wasm-json-toolkit has been renamed to warp-wasm-json-toolkit. Please install new package."},"1.0.1":{"name":"redstone-wasm-json-toolkit","version":"1.0.1","description":"RedStone implementation of wasm-json-toolkit","main":"index.js","scripts":{"coveralls":"npm run coverage && nyc report --reporter=text-lcov | coveralls","coverage":"nyc npm test","lint":"standard","test":"node ./test/index.js"},"keywords":["wasm","cli"],"author":{"name":"Redstone Team","email":"dev@redstone.finance"},"license":"MPL-2.0","dependencies":{"buffer-pipe":"0.0.3","leb128":"0.0.4","redstone-isomorphic":"1.1.1"},"bin":{"wasm2json":"bin/wasm2json","json2wasm":"bin/json2wasm"},"devDependencies":{"coveralls":"^3.0.1","nyc":"12.0.2","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"git+https://github.com/redstone-finance/redstone-wasm-json-toolkit.git"},"bugs":{"url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit/issues"},"homepage":"https://github.com/redstone-finance/redstone-wasm-json-toolkit","standard":{"ignore":["test/wabt"]},"gitHead":"c4cbb7503867ae04c6a1d4cba54609372e0bb9c1","_id":"redstone-wasm-json-toolkit@1.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-SabqQm0b/EPZitRsi3UQoO4J2CP4/2jLtiuEo+Nk8am/AVHAgTV8jP0MpxOJj1uXo9SYWxhivuBUPCW/0LbSqg==","shasum":"41ffd6010a55eb6e832b5b7ded5f29e8512877c0","tarball":"https://registry.npmjs.org/redstone-wasm-json-toolkit/-/redstone-wasm-json-toolkit-1.0.1.tgz","fileCount":12,"unpackedSize":40035,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJjhRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBVA/+OCNRsdWo4dfJQWqsUfrtecQ2HPAZxqJpK3jPoyROQZXZWoNF\r\naGeOTxRAQcZsXioFmajBaNBQOvlIfQ9+6swZ1LQQSP4/++At2NeSf5Otb/iy\r\nnCasEu4gnmQmQfLCX9+w8lD1X8AelJ9g4vN9eZByQ0fVviJ4JxrufNCRDN1T\r\nmFavKyhrFPdpZV588aKAQcVosUCxFPUd7PvZRaZsmEu9SLfepzmX7nK77Uf8\r\n3TFVScrjON+UfsJ5nUL9H92lH4UGegmEOTc6EjWtC4IZDeCyeFlnh/AUyZgc\r\n4M0smVlL8bEoLvlQKoM/jd06AZDdvQ501DFApDtIYYz83EQMwdrPEFLnR5g/\r\n+u4cEg4MDRxDLVlscqMrySeHTGGw2yVKJz0XsJ6LykKD2+dd0OavMFfb5FI3\r\nW+oazygQDRrzIANf6ySFHV/CQyyVTTrxlc9LVdKDaC8JS0xVNDqSx+nDhxP8\r\ndcdwbZQn/dZwZSXPOZ+9G+8DtSL7G/jOZhfhOnFhzA63JcRj8Le3/F7DWqzW\r\nRdKtQVYrjdVnVYiuf3mz/+MdRp8jgOiepyyYH5gPqaa1S2h1rSYgChVHYd27\r\nTS4JhfO0uPKeT6DxX88/9ETjR5/nPln243nY8fATfPMD3y4uOcbNq1RcBioE\r\nqSPinAO4WB89hecv199a8Jt+bl9U6cvS7w0=\r\n=m63G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnFIjllLFuXmMtZGbWs7frXPez3SqYrlv2BoCwYboSuwIhAKpsosexqQvtl2SN7CvcsL3KBxDJCIh4YFwg18k1yE9d"}]},"_npmUser":{"name":"redstone-finance","email":"dev@redstone.finance"},"directories":{},"maintainers":[{"name":"redstone-finance","email":"dev@redstone.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redstone-wasm-json-toolkit_1.0.1_1646671953106_0.6967229575241882"},"_hasShrinkwrap":false,"deprecated":"redstone-wasm-json-toolkit has been renamed to warp-wasm-json-toolkit. Please install new package."},"1.0.2":{"name":"redstone-wasm-json-toolkit","version":"1.0.2","description":"RedStone implementation of wasm-json-toolkit","main":"index.js","scripts":{"coveralls":"npm run coverage && nyc report --reporter=text-lcov | coveralls","coverage":"nyc npm test","lint":"standard","test":"node ./test/index.js"},"keywords":["wasm","cli"],"author":{"name":"Redstone Team","email":"dev@redstone.finance"},"license":"MPL-2.0","dependencies":{"buffer-pipe":"0.0.3","leb128":"0.0.4","redstone-isomorphic":"^1.1.8"},"bin":{"wasm2json":"bin/wasm2json","json2wasm":"bin/json2wasm"},"devDependencies":{"coveralls":"^3.0.1","nyc":"12.0.2","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"git+https://github.com/redstone-finance/redstone-wasm-json-toolkit.git"},"bugs":{"url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit/issues"},"homepage":"https://github.com/redstone-finance/redstone-wasm-json-toolkit","standard":{"ignore":["test/wabt"]},"gitHead":"2a3b7c1bae34ca00a576febc3b20a86ffe4299b2","_id":"redstone-wasm-json-toolkit@1.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5XPIaiwLXu+RugTLXGkCHMHZVzlC91VFImspZ2Znt/ASEqNchq26/d+HjeLtvG/R4jP6RFhjeHRBjCD5dHA44g==","shasum":"a285d544bbc5a1b6236c99ca8f4b64e8b593f5cb","tarball":"https://registry.npmjs.org/redstone-wasm-json-toolkit/-/redstone-wasm-json-toolkit-1.0.2.tgz","fileCount":12,"unpackedSize":40036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVo/U/SmfRgwnLHwaQXbriBOUVL05J/mWuNMqXtzaapAIgMVGkXwN1oRMLHK8Aw97HB6uSPp3sPnyz6xLeT4hsMGA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2lDlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA5hAAl+Q9CKOAi8GPwRg4GbFqqrCp999ZD/jzMsSelQ6hr7A3BPW2\r\nqBx2xuE7OgyKEIrfKwXZugLLZvtDIsf2g3exRffFFPzSO1pCeRrpet6cBraw\r\nN7miUqtQo5E420KBNWJp6//WMRZzcHk6SNnbWl9sBlO2kgFtxkyx5M0OV3un\r\n/Ao8QFklCkhAOT3Omxd0DderwlDdEezh1HTw0Sa/3i6145zalzZERZY33BbR\r\nbMzJXgV37A0IGR5UiWePhfiElYN1TNSkLpKcvj/X4iJUibh2cjaPC2pbd2dV\r\nxiBpvOnWwznlPxVLco03YUsuTOTkrzeENMYEmmAFOiJnLJjCabZelo8V6Ynk\r\nZbhrRPNUIk9B2abQqnhRWuDNhs8M/PvSykKZHA59djvOK2NrCX1cHNuvd3yC\r\nc0WRk1v2key+siQ5zYiTmo6xWQ6/V7ng7bWI0OgGDHSancpd/p57hyEOihq2\r\nOnIZTfSgU9ilZssPRQA/90DtssWE1D/AQDghRsAvKwOMHVqZGH/fUjrs7kZS\r\n+WilTexlhD9uhIDRmAyoH96fbA9YUuMq8hyacwarC9xOTyE3+0OgaPWDCDfO\r\ni+liVbuSjuyvRtHtV8qe3WyrjLwwXR4tnOV1T649TUEwSTyAdvBVSsw3SNkg\r\nk0X49KVCPZZZKMZ+NseQcaU4ZjRdYdrdnAE=\r\n=uEcC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"redstone-finance","email":"dev@redstone.finance"},"directories":{},"maintainers":[{"name":"redstone-finance","email":"dev@redstone.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redstone-wasm-json-toolkit_1.0.2_1658474725454_0.48341957044803463"},"_hasShrinkwrap":false,"deprecated":"redstone-wasm-json-toolkit has been renamed to warp-wasm-json-toolkit. Please install new package."},"1.0.3":{"name":"redstone-wasm-json-toolkit","version":"1.0.3","description":"RedStone implementation of wasm-json-toolkit","main":"index.js","scripts":{"coveralls":"npm run coverage && nyc report --reporter=text-lcov | coveralls","coverage":"nyc npm test","lint":"standard","test":"node ./test/index.js"},"keywords":["wasm","cli"],"author":{"name":"Redstone Team","email":"dev@redstone.finance"},"license":"MPL-2.0","dependencies":{"buffer-pipe":"0.0.3","leb128":"0.0.4","redstone-isomorphic":"1.1.0"},"bin":{"wasm2json":"bin/wasm2json","json2wasm":"bin/json2wasm"},"devDependencies":{"coveralls":"^3.0.1","nyc":"12.0.2","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"git+https://github.com/redstone-finance/redstone-wasm-json-toolkit.git"},"bugs":{"url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit/issues"},"homepage":"https://github.com/redstone-finance/redstone-wasm-json-toolkit","standard":{"ignore":["test/wabt"]},"gitHead":"32c10642bf14950ed462bf10baca62370707c3f5","_id":"redstone-wasm-json-toolkit@1.0.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5TumLje/czphGt9B2hXqLnQEmvJ3olvdp5gvLr0ayDMZ6FXhDF7Sfo//xIgug4Uyif5o4tJyYvOeo5Of17/01w==","shasum":"5479c0f093862cdd71fb5eab41cbbeb8ddc2b824","tarball":"https://registry.npmjs.org/redstone-wasm-json-toolkit/-/redstone-wasm-json-toolkit-1.0.3.tgz","fileCount":12,"unpackedSize":40035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8pBkLUanqqdVd6R5EByEylgj6gjWa0vflfeDfjtXShgIhAMprVuUUYlpdfGB7jSZewSqfQGz4kgpGkgdaFfwbGVuC"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2l5+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrssQ/+JOPLPKaKbs6rMRsCbaJ5eQkQcDABkI7Xy7P7VDcnq4zyDVx0\r\nb0WsxOryx8tfWPoofQIMAcDiKrAMvf2jPIt0mTTInkBA0t2Pz6W2cQ3jwg4Q\r\nmvNZNJ9QzuTWuLVGusEtBb4i5vE2wYWFdIF49CTprejTYD3FQnleRmOLxbTa\r\neZBGpwksJ7XkRypd/DXLYJ1+DJ+cXb8VTaARxf7A+sjlJtaqXhSBrG4VZxwx\r\nnmQgxekHRT9JuL82k3ZzMB/tCJT/9mqZh5P7pUwkwE+mq8pUXSs5SRIAVryT\r\n66iYbT+9xOlK/Ss4VtIBL+AVzEHWknpikSaPDKuLqw8EsvLG9DoaIOE+lDGP\r\njoaF6najzuXkHSUWMhcAdUoT66ch0WSavNHY9+9soIu9M/7rPXJB6zNIiZq1\r\n8NG6X/UoyVRiEvWcISq6yKoSDnQHPbCQOfGnpdNvOfI6MlNhHMwU9k/PL8yl\r\n6aYktRHM+mBWyW48ShHqly28hIpYe2YqQPQYAkJxLS2OTlW8M0nt9WVb67I2\r\nigjYeoRV0OEPfO60GhOD/cUtJvNWZJ0as0keVQ2DqMMng0inXxTrSbuLivqc\r\nuQX+Hm69WhrRkT9DTt4sxRdecPSq8hmM3yxApZIYuVIrlNrntcZc0vBm2bwr\r\nvuP8c/Ym5cCu453a1z2y2p9anaKmb2Ry09g=\r\n=rM7U\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"redstone-finance","email":"dev@redstone.finance"},"directories":{},"maintainers":[{"name":"redstone-finance","email":"dev@redstone.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redstone-wasm-json-toolkit_1.0.3_1658478206078_0.13661492082602922"},"_hasShrinkwrap":false,"deprecated":"redstone-wasm-json-toolkit has been renamed to warp-wasm-json-toolkit. Please install new package."},"1.0.4":{"name":"redstone-wasm-json-toolkit","version":"1.0.4","description":"RedStone implementation of wasm-json-toolkit","main":"index.js","scripts":{"coveralls":"npm run coverage && nyc report --reporter=text-lcov | coveralls","coverage":"nyc npm test","lint":"standard","test":"node ./test/index.js"},"keywords":["wasm","cli"],"author":{"name":"Redstone Team","email":"dev@redstone.finance"},"license":"MPL-2.0","dependencies":{"buffer-pipe":"0.0.3","leb128":"0.0.4","redstone-isomorphic":"1.1.0"},"bin":{"wasm2json":"bin/wasm2json","json2wasm":"bin/json2wasm"},"devDependencies":{"coveralls":"^3.0.1","nyc":"12.0.2","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit.git"},"bugs":{"url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit/issues"},"homepage":"https://github.com/redstone-finance/redstone-wasm-json-toolkit","standard":{"ignore":["test/wabt"]},"_id":"redstone-wasm-json-toolkit@1.0.4","dist":{"shasum":"c3fb0fcf1a7d81ab018f0c8e15d574e8278d926c","integrity":"sha512-QOvWuk1+daO6leVwF5L1cU1lSQnNu4xDwW9wbViuT7CjEQj5xm0hxkcgsrBJQ8Up88QETtZAl/ttnwcodaVhYw==","tarball":"https://registry.npmjs.org/redstone-wasm-json-toolkit/-/redstone-wasm-json-toolkit-1.0.4.tgz","fileCount":15,"unpackedSize":446401,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuB1meL1JaaNSjRoRVVykq8CPYx62fDM9lFQICye+lMgIhAIHmcTEXBEpuTFccT5BayVtmo1W1b6JxQ1LB3YtW0p1H"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwTy6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRvA//aPbv/JpxG2SgbZiSgL9d8qpY1mdyBvIRQ4zeERLSohzVNS4+\r\nh1j3nrngQSUlgb2b5MQtsDhixPGEISG6IRlNRuInZIbdhd4gT2fsuVYtY/oh\r\nQR63pIWxz4UcYtYwEKLrmV0oIEEQGAGUE6S+9hRq5M4roAsKlfm9xlOqafbu\r\n3lHp15TUCUCTqle10ggsS4NekeKCWae2/h15IjXuJ0tl//TM3XAt34VzUyD/\r\nKxTZV1yHtvnATV9OY/UO+b5uYjl+bbAaJULyNFzGwaW8i5ztf4dVKhfR5r2S\r\nKizsN1klyrCokcRkLeh+eFI3RSC6jOtYADWgF+4T6RDYmNGaDD8hUDMLbhL/\r\n4yLp9tnUPEwP529AYH5crbNyQwJc1tgKwKBZqDaHrzSTYP+rJCxoOBxOlmcK\r\nC3JLq6XE2FeARkqLqDESkVs8v0iGoeIGNSxryM4sgkmBL+yIRbHQFJVR27xQ\r\nX/6YTtDy9JV07caHs2/owbslLy0MIDOpkp+GYo0cwZsBC1p8bqbM2xXcVW7r\r\nSogAEnuIVmpv5cad1/UwInZP42SrN4IusyMuwCZUgWe6EErB0DNf/SkX0pg5\r\nM896ho8Bvq/7YsGRdvZBXnaua5jCs3zVtdPE2jRpxHjQmwMMNvs3N8RqxH/a\r\nGZTiGnRtzATXya/fYIK4CIo4qbuQgC616Tc=\r\n=mb19\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"redstone-finance","email":"dev@redstone.finance"},"directories":{},"maintainers":[{"name":"redstone-finance","email":"dev@redstone.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redstone-wasm-json-toolkit_1.0.4_1673608378341_0.29640383399299663"},"_hasShrinkwrap":false},"1.0.5":{"name":"redstone-wasm-json-toolkit","version":"1.0.5","description":"RedStone implementation of wasm-json-toolkit","main":"index.js","scripts":{"coveralls":"npm run coverage && nyc report --reporter=text-lcov | coveralls","coverage":"nyc npm test","lint":"standard","test":"node ./test/index.js"},"keywords":["wasm","cli"],"author":{"name":"Redstone Team","email":"dev@redstone.finance"},"license":"MPL-2.0","dependencies":{"buffer-pipe":"0.0.3","leb128":"0.0.4","redstone-isomorphic":"1.1.0"},"bin":{"wasm2json":"bin/wasm2json","json2wasm":"bin/json2wasm"},"devDependencies":{"coveralls":"^3.0.1","nyc":"12.0.2","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit.git"},"bugs":{"url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit/issues"},"homepage":"https://github.com/redstone-finance/redstone-wasm-json-toolkit","standard":{"ignore":["test/wabt"]},"_id":"redstone-wasm-json-toolkit@1.0.5","dist":{"shasum":"b117ecc403d89577abc1bb00b9f26fa0690dfa2c","integrity":"sha512-xuMPgeTL3Jl010uj261eBNS21fWFjy1RQREfnZFckY1IEOn/wGrydrqEhY7Gb6f8oQMk2uVYhjkgVYJ29GVD0w==","tarball":"https://registry.npmjs.org/redstone-wasm-json-toolkit/-/redstone-wasm-json-toolkit-1.0.5.tgz","fileCount":15,"unpackedSize":446402,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOSf9EdYcHfcDzxJOs8o2HRilUpRXVBR9N0Zn4SHv/rwIgYlPBSXq9+Czitq7/PBffXzoZRfNgOmYXR7VU1AKTAMY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwUBXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmolhw/+JT517aHM0+U9y/7/m61/v2Xpe/cheQT2NsBl77j76TrjFx0t\r\nDmpx4kSXU7uLewWVR5tjSzNT8gqoYOffmeBgP6nezZ7U3tHEyZRXJtie+EGA\r\nIcnypfMpZGjW3vF10MnPcy1AaHi6dRh91fgNh4YJ9QUW3ozsUgujgXdTpNyr\r\nYhPHzo/MGOp3EfTKJlZQEJvSPR1EMQxMjjC+iNyD6aWsyGgpsb9NDjoSHQQS\r\niUu0BEC8vB7R62t801v7TmsTBU/SJ3Hm46ocueGDrgOb+pOR9PqLTtnuaMXi\r\nHzsIbOrJBTxFwXdmYhHbsf4RMh9gRG9uf25NaF/Bo3y13WjVOm8VsL2pHmGy\r\nprgiENPN9V1folLOrJR9hoAFyntBHuRfLoby7uaZ60zcf0Fh9Kj/e9odHSwf\r\nQBMS2p1i+jyZ4jFfgvXFHU3mIdwHxDTv5RWULrWafvQTpHuKH0tVY+0CT+8z\r\nj3FVzI63EFMPw2iQDeBSUAINLl0fO2LUR+xILkvl1MMKRCF66clE6bA+b+yS\r\nHNXOxWR0EDhW75uPUZS71VmBZugC8sdmfAXOzvlivmUCfwZJszJYmfwKenUN\r\npX6q5N+EUk0J88d8DOBRCmQGGTTzebXv2D2hQFy36FVRFJVCZa1d2z6vIuxM\r\nE8oLN8o+CP/re//Nf8oTuweZSh9XWSw1Zo4=\r\n=qRH4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"redstone-finance","email":"dev@redstone.finance"},"directories":{},"maintainers":[{"name":"redstone-finance","email":"dev@redstone.finance"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redstone-wasm-json-toolkit_1.0.5_1673609303568_0.6263795711476727"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-07T14:42:33.028Z","1.0.0":"2022-03-07T14:42:33.215Z","modified":"2023-01-19T09:26:52.152Z","1.0.1":"2022-03-07T16:52:33.243Z","1.0.2":"2022-07-22T07:25:25.672Z","1.0.3":"2022-07-22T08:23:26.251Z","1.0.4":"2023-01-13T11:12:58.553Z","1.0.5":"2023-01-13T11:28:23.720Z"},"maintainers":[{"name":"redstone-finance","email":"dev@redstone.finance"}],"description":"RedStone implementation of wasm-json-toolkit","homepage":"https://github.com/redstone-finance/redstone-wasm-json-toolkit","keywords":["wasm","cli"],"repository":{"type":"git","url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit.git"},"author":{"name":"Redstone Team","email":"dev@redstone.finance"},"bugs":{"url":"https://github.com/redstone-finance/redstone-wasm-json-toolkit/issues"},"license":"MPL-2.0","readme":"# SYNOPSIS\n\n[![NPM Package](https://img.shields.io/npm/v/wasm-json-toolkit.svg?style=flat-square)](https://www.npmjs.org/package/wasm-json-toolkit)\n[![Build Status](https://img.shields.io/travis/ewasm/wasm-json-toolkit.svg?branch=master&style=flat-square)](https://travis-ci.org/ewasm/wasm-json-toolkit)\n[![Coverage Status](https://img.shields.io/coveralls/ewasm/wasm-json-toolkit.svg?style=flat-square)](https://coveralls.io/r/ewasm/wasm-json-toolkit)\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nredstone-wasm-json-toolkit is a fork of https://github.com/ewasm/wasm-json-toolkit which provides consistent API for Buffer object between server and client by using `safe-buffer` library for node and `buffer` for browser.\n\nA small toolkit for converting wasm binaries into json and back.\n\n# INSTALL\n\n`npm install wasm-json-toolkit`\n\n# USAGE\n\n```javascript\nconst fs = require('fs');\nconst wasm2json = require('wasm-json-toolkit').wasm2json;\n\nconst wasm = fs.readFileSync('./test.wasm');\nconst json = wasm2json(wasm);\n\nconsole.log(JSON.stringify(json, null, 2));\n```\n\n# CLI\n\nInstall `-g` global for cli usage.\n\n`wasm2json [FILE]` given a file containing a wasm module produces a json representation  \n`json2wasm [FILE]` given a file containing a json representation produces a wasm module\n\n# API\n\n# wasm2json\n\nconverts a wasm binary into a json representation\n\n**Parameters**\n\n- `Buffer` - The Webassembly Binary\n- `filter` - `Set` containing the name of sections to parse. If no filter is given all sections will be parsed\n\nReturns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)**\n\n# json2wasm\n\nconverts a json representation to a wasm binary\n\n**Parameters**\n\n- `Object`\n\nReturns **[Buffer](https://nodejs.org/api/buffer.html)**\n\n# text2json\n\nconverts text to json. The only text accepted is a simple list of opcode name and immediates\n\n**Parameters**\n\n- `String`\n\n**Examples**\n\n```javascript\nconst codeStr = `\ni64.const 1\ni64.const 2\ni64.add\n`;\nconst json = text2json(codeStr);\n```\n\nReturns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)**\n\n# iterator\n\n[iterator.js:12-58](https://github.com/ewasm/wasm-json-toolkit/blob/e9fdd9498451b39b84c1167e78dc4aad03b055bd/iterator.js#L12-L58 'Source code on GitHub')\n\nThe Module Iterator allows for iteration over a webassembly module's sections.\nA section is wrapped in a section class. A section class instance allows you\nappend entries to a given section\n\n**Examples**\n\n```javascript\nconst it = new Iterator(wasm);\nfor (const section of it) {\n  console.log(section.type);\n  const json = section.toJSON();\n}\n```\n\n## wasm\n\n[iterator.js:26-32](https://github.com/ewasm/wasm-json-toolkit/blob/e9fdd9498451b39b84c1167e78dc4aad03b055bd/iterator.js#L26-L32 'Source code on GitHub')\n\nif the orignal wasm module was modified then this will return the modified\nwasm module\n\n## iterator\n\n[iterator.js:38-52](https://github.com/ewasm/wasm-json-toolkit/blob/e9fdd9498451b39b84c1167e78dc4aad03b055bd/iterator.js#L38-L52 'Source code on GitHub')\n\nIterates through the module's sections\nreturn {Iterator.<Section>}\n\n# Section\n\n[iterator.js:64-110](https://github.com/ewasm/wasm-json-toolkit/blob/e9fdd9498451b39b84c1167e78dc4aad03b055bd/iterator.js#L64-L110 'Source code on GitHub')\n\nThe section class is always internal created by the Module class. And return\nthrough the Module's iternator\n\n## toJSON\n\n[iterator.js:83-85](https://github.com/ewasm/wasm-json-toolkit/blob/e9fdd9498451b39b84c1167e78dc4aad03b055bd/iterator.js#L83-L85 'Source code on GitHub')\n\nParses the section and return the JSON repesentation of it\nreturns {Object}\n\n## appendEntries\n\n[iterator.js:92-109](https://github.com/ewasm/wasm-json-toolkit/blob/e9fdd9498451b39b84c1167e78dc4aad03b055bd/iterator.js#L92-L109 'Source code on GitHub')\n\nAppends an array of entries to this section. NOTE: this will modify the\nparent wasm module.\n\n**Parameters**\n\n- `entries` **Arrayy&lt;[Buffer](https://nodejs.org/api/buffer.html)>**\n\n## exammple json output\n\nwast\n\n```\n(module\n  (func $addTwo (param i32 i32) (result i32)\n    (i32.add\n      (get_local 0)\n      (get_local 1)))\n  (export \"addTwo\" (func $addTwo)))\n```\n\nwasm\n\n```\n0x010661646454776f00000a09010700200020016a0b\n```\n\njson\n\n```\n[\n  {\n    \"name\": \"preramble\",\n    \"magic\": [0,97,115,109],\n    \"version\": [13,0,0,0]\n  },\n  {\n    \"name\": \"type\",\n    \"entries\": [\n      {\n        \"form\": \"func\",\n        \"params\": [\"i32\",\"i32\"],\n        \"return_type\": \"i32\"\n      }\n    ]\n  },\n  {\n    \"name\": \"function\",\n    \"entries\": [0]\n  },\n  {\n    \"name\": \"export\",\n    \"entries\": [\n      {\n        \"field_str\": \"addTwo\",\n        \"kind\": \"Function\",\n        \"index\": 0\n      }\n    ]\n  },\n  {\n    \"name\": \"code\",\n    \"entries\": [\n      {\n        \"locals\": [],\n        \"code\": [\n          {\n            \"name\": \"get_local\",\n            \"immediaties\": \"0\"\n          },\n          {\n            \"name\": \"get_local\",\n            \"immediaties\": \"1\"\n          },\n          {\n            \"return_type\": \"i32\",\n            \"name\": \"add\"\n          },\n          {\n            \"name\": \"end\"\n          }\n        ]\n      }\n    ]\n  }\n]\n```\n\n# LICENSE\n\n[MPL-2.0][license]\n\n[license]: https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)\n","readmeFilename":"README.md"}