{"_id":"js-component-tools","_rev":"13-76207a8ab67e9c82430315d0b46fc8cd","name":"js-component-tools","dist-tags":{"latest":"0.4.0","beta":"0.3.0-beta.1"},"versions":{"0.1.0":{"name":"js-component-tools","version":"0.1.0","main":"dist/api.mjs","type":"module","author":{"name":"Guy Bedford"},"bin":{"jsct":"dist/index.mjs"},"devDependencies":{"@vercel/ncc":"^0.34.0","binaryen":"^110.0.0-nightly.20221109","chalk":"^5.1.2","chalk-template":"^0.4.0","commander":"^9.4.1","ora":"^6.1.2","terser":"^5.15.1"},"gitHead":"1358bb3033e30e6c07f2b637f5decaf3c6c171be","description":"JS-compiled CLI & API versions of some of [wasm-tools](https://github.com/bytecodealliance/wasm-tools), [wit-bindgen host js](https://github.com/bytecodealliance/wit-bindgen/tree/main/crates/gen-host-js) and [binaryen opt & wasm2asm](https://npmjs.org/pac","_id":"js-component-tools@0.1.0","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-0nbJdzSmPZHoOy5TeR6/ZDf90nWX8AlB+S9kWVpLUGycVD7uZWsI/H0J3OQZej27bS+O+pyOmmMWqwcLVfeqQw==","shasum":"c9888757e5a581972cb6cc6983975f44bd60298e","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.1.0.tgz","fileCount":12,"unpackedSize":34629955,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxx8dRc3xXPxzxWLTKMN/KxBqAi+/hVMBXCSTRX33ZRAiEAyDWOYJxnb6J23TZ4t8LRhveHlwAE4SiRl2FnUeTcNAw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdYThACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGWhAAnJkmVixKxxUgQ3E1Su6Z465eU4VXA8CliiBZBy4EXWHx82hW\r\nJnyRCkbvjVotwBxDhrLCvVrrAL68KIeO7ShreXVl1LIeOcuKOm2jCXmCWD71\r\n1iGwFZLuy2eFDlzc3xfvKdzH1bmbtC+BS7YDbKwOVehY8P6t8yYLD+BW7qYA\r\nvUbwZCH5JEvdLrHSPZbLlKtOFJGZTzq1P0hFvGLUpmj3N4lwvY5J3Hq/vqXS\r\nNU0llZD8x4UhRw82O4OsAG8oW81vck4Z+W70fAPrqakVoJUUlmmVemZbUEbs\r\n9+Nuyh9xHpBmK436o5X+KakWAnoKgWv1eHF9+UuU+hExTe8OmGLuDWHDmZ8N\r\n3bAFwg6DmInsHDhoL7YFSv9POD05z5aEaLaJ3M8J+IpzfmJBje4/XIh4UjFp\r\na0+qe8woUeUeTvNh+fWj3sDk74IYxKxSam4Ha9K+UQL40oarv3KCBbaNwSk6\r\n2g5A1TGQE5NkBsOCke+8kGxHTaS2MCGL02+sJnb+KC6XG3m36Xped93+otk0\r\nzomkD78ttJXcU9oC5cj5JZZt9sCdachkj+MqhBumZUQf4xOpCZg+fZyTlwvL\r\nHN0gFwYP2/vCk/rsJEBN0Dypi5vS5PjYdm7oruZx8XhvFd76XWklu04xZFyq\r\nSd4bPblY3r7ua+Vy9ZO//PKbYRmJeZ0YxQQ=\r\n=AsdH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.1.0_1668646113329_0.823519642619303"},"_hasShrinkwrap":false},"0.1.1":{"name":"js-component-tools","version":"0.1.1","main":"dist/api.mjs","type":"module","author":{"name":"Guy Bedford"},"bin":{"jsct":"dist/index.mjs"},"devDependencies":{"@vercel/ncc":"^0.34.0","binaryen":"^110.0.0-nightly.20221109","chalk":"^5.1.2","chalk-template":"^0.4.0","commander":"^9.4.1","js-component-tools":"^0.1.0","ora":"^6.1.2","terser":"^5.15.1"},"gitHead":"1358bb3033e30e6c07f2b637f5decaf3c6c171be","description":"JS-compiled CLI & API versions of some of [wasm-tools](https://github.com/bytecodealliance/wasm-tools), [wit-bindgen host js](https://github.com/bytecodealliance/wit-bindgen/tree/main/crates/gen-host-js) and [binaryen opt & wasm2asm](https://npmjs.org/pac","_id":"js-component-tools@0.1.1","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Qif9VE4Vqmh6H28uSdCqDVfIIwrbA1q1TEAXnEEVeH4EdYe/wnwXtTe6mvN6xSwmf1A9dkxL2IypuWFFV+hw1w==","shasum":"f8da9ab8b088116825f05cc8fb7f9e85cd873966","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.1.1.tgz","fileCount":12,"unpackedSize":34629997,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2T2q50dd64p2fQgqKD3FUNVv3PJqPmv2olE37PC+68AiEAsvIN1k2a06xeBKMGF4ImuMlRiafaEoDGsO5T2BRYqSo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdYVwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJ1xAAgBClr91cyvBjGWW9osUgJVHCLTFc4ZgBDpBOz+BlsXy6Iio7\r\nW9kccixLR/2viwLKYM5Uyc53XBC6mMhnUPzP9DdSWgH+o+XkB5tCxmy6HUC8\r\nszMhYEp/4Rln2YP6Sau3nTBCZoMEqyAY4orW9zZfzrzYzgpsoMGs95lZe2nl\r\niNZXx5NUBa4FW+dz+AinUFR0HMhqhVYc4atr7cY8tHUnk0t1CIO/7FgO89UR\r\n0aOjUxZlGSqcXwNnm9LfooeKVkkVzDqMxHdldJdNyXxqcaaRvu0hG4SVcE0Q\r\n4dAHpuIEJW8oy3rCEP5nSvRgR4ykyHhac2QpK4KuuTG6gtxPRSfDOwflsR1d\r\ngkI2/W9an+I7nb46tAkrvK6sib6QAHEq/rMIeofGKPEVfC5ViLlUbWWurO6m\r\nUBCAl4QHT12nQsdnTf16+cgKz2Uv1c1mrqySOoG9aGBTY/7uR/vwVamIs6U8\r\nuL8ZJObQRTulrgeCMD6tZ5wxDS7vpYT0L0As7Vcx9Q5CorEMrZoO0FIY8LlZ\r\nmTQLW9ei120Kpv/yv6IOFogbr3P/I3LkAQLDEI00TwbM1xIsfMNIbCnOsjLY\r\nmK56vz9XW9aMZ1FOiOflXallzPus2nsjYEZ/pBUbVao60+n65/ccwXTbA9Co\r\n2vmEKQkV0D1/7huegg3fVUfezZU6fxmMUEs=\r\n=j4bB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.1.1_1668646256402_0.9967726428055372"},"_hasShrinkwrap":false},"0.1.2":{"name":"js-component-tools","version":"0.1.2","main":"dist/api.mjs","type":"module","author":{"name":"Guy Bedford"},"bin":{"jsct":"dist/cli.mjs"},"devDependencies":{"@vercel/ncc":"^0.34.0","binaryen":"^110.0.0-nightly.20221109","chalk":"^5.1.2","chalk-template":"^0.4.0","commander":"^9.4.1","js-component-tools":"^0.1.1","ora":"^6.1.2","terser":"^5.15.1"},"gitHead":"1358bb3033e30e6c07f2b637f5decaf3c6c171be","description":"JS-compiled CLI & API versions of some of [wasm-tools](https://github.com/bytecodealliance/wasm-tools), [wit-bindgen host js](https://github.com/bytecodealliance/wit-bindgen/tree/main/crates/gen-host-js) and [binaryen opt & wasm2asm](https://npmjs.org/pac","_id":"js-component-tools@0.1.2","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-6+LPhDBY7YkWohXj44/qyYF6L42tmHQ2FttejoaqfwWIwPE32xmsOAdXJBIGFbPelEyVZoToCp3FsJ/QAK9YTg==","shasum":"4cc47e1c0704734d3b00392ed32e3a68519c0a03","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.1.2.tgz","fileCount":12,"unpackedSize":34629997,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxJGgtLrQw9PQVWy7jtoTCYys4UeDnBeh3UC9CGDsXdQIgLECq+9AbCnSFbMt4J00sCCic85soZi3arR/HwNz9Jkw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdYYKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2OA/8DMdJAb1v37aF4LbfWIiE89N5qnCHEeY5IPlxeL62u8QMnNdf\r\nJIogzFL/IPrkaFDU7jNQExrRED/oRNg6MPjyz3FzVN5vQF6ZvkjZZo5t3zMI\r\nq3jQtkxJrELOXAW3xPnfwml0sBKr23gUuuCLdl7TVst7+9/NgqB7TaFVCzt0\r\nLfyhF2LlIEQejYK7UP9JLTGSXaQlHRZBuQ+ftNE334YkWeSAM4eSOiBRhb9G\r\nDLjJ6Mi3+fNkKNXl03HPO6KH4vEIw5z4oyTSPsBdJcfjqkXpLF5x2a44xBgz\r\n2WdMR9mGom+b+QfcU/XRJ2lE58OcyLclUotGBCWp5tCxT32ije8PJnPBXePy\r\n0ql2RxNO7UR2MMsBIe+IvJe9lQ1P91hKLrBDtb77lUvVR4iyhIGckR0nJc7w\r\nAlpB8H3aa1Qc3fC8AAj3g2Za7PWz4WvwYOalgWOD3oNgFP+Oi78JbZKKUDsN\r\niCVnBqFbdhpanMDOnQwoczc5nppESjRQvT5Bha6b6j2blSyzt4fEO2g821X+\r\nQNrwyZxCA/0IhEqN4FXbpw7NYXkGO31SeYnKshlpVAvCCb4EmehfK11SfhC2\r\n/Z3WaGmZuQvKdwhd+JVvlNHRxAYqKS07bMMQm5z3TSSKbE4XrT1hpRCX/ZTi\r\nQrypBrQlizvMGDQxKbj+9VLtwxj7s1W07VQ=\r\n=L4EH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.1.2_1668646409902_0.05957655738068324"},"_hasShrinkwrap":false},"0.1.3":{"name":"js-component-tools","version":"0.1.3","main":"dist/api.mjs","type":"module","author":{"name":"Guy Bedford"},"bin":{"jsct":"dist/cli.mjs"},"devDependencies":{"@vercel/ncc":"^0.34.0","binaryen":"^110.0.0-nightly.20221109","chalk":"^5.1.2","chalk-template":"^0.4.0","commander":"^9.4.1","js-component-tools":"^0.1.2","ora":"^6.1.2","terser":"^5.15.1"},"gitHead":"c77c37b5eeb968b927f402a165d8e3899b155212","description":"JS-compiled CLI & API versions of some of [wasm-tools](https://github.com/bytecodealliance/wasm-tools), [wit-bindgen host js](https://github.com/bytecodealliance/wit-bindgen/tree/main/crates/gen-host-js) and [binaryen opt & wasm2asm](https://npmjs.org/pac","_id":"js-component-tools@0.1.3","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-EOaG5bzX2O/GK767XNmYvkoHV4noKS8Fyzr4jXHSj6aO7+MrMA+Dcwi2ielKN9gN30UpvlhBwY7pGafAKX6B8Q==","shasum":"bf95fb6daaf3ba6c32a9b3c5f1032bec83ac4dd1","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.1.3.tgz","fileCount":11,"unpackedSize":28069958,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1QiEdNxQ51K9OUWUPLiyWJ37GazLoEPezDsytE8wyQAiEA9fVUOEf8ymM9sqG6M+wpC0Lyl/Dh1R2FDpTtkZEaHEo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdoLEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA7Q/+OeoacurS1wEUwWBbcW4DOSU4jTRVqz0UgMB7QdZ/m94/GumR\r\nXgxVVz7QZ6AryKOlyoetCSLJzNm+YoOGYp5YQNcLnTOZA1MRNt90gaAdwbtG\r\nXXN/JzNpaQk7nVTZwjw8LUbv4E2v1b004csB6uad6rmnvE7CU/qnvigezP4x\r\nN8u9B8RDdEk7843OxBGdiEFxzmHq+2k6MYUJWTzp7Ward6uTXzxAjD4KVRAt\r\nm4P7EE2bERv3t0KQkw8S8gQqqVAe92jCC7eIkkBDmxHY+L3wM8w/5olj24ZE\r\nPYllMFQ3t8ThZ+KjyUDJqT2n1SEa3B771n2fTi9z+X2KNKjG1NQL7yvfzb3E\r\nwsBjp/XM8r2SoQIx+fT01++BxRWThPoETIKsRnOfeYkQZQLZJPioazwA+Q1X\r\nOZIQ+MohNg6qDkYGFOuGYjj7Lr+oNnhhi8zxZy34ya+5v+eKxollTo6+5mSm\r\nxS4g13wHV7KONPAR0YiwZAUFEk7cak+q5G0Z3qd4gX7HzGp+hkws/PtDymcs\r\nUmHqVu+JzMT50dBLfZ7ECUyx94bDXXV6JcqZF1u/66LUAyopQNJNumVNOUma\r\n1e1JkHvUgSaBOiKdXzN/yd9HRXx1Wymf7LsWxUlTQHgzTRMEq3o9gQPgMjwJ\r\n5+u0SOTpUEn4FYMp/pb19aXyusJtNeStBws=\r\n=kTG9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.1.3_1668711107878_0.892560742828137"},"_hasShrinkwrap":false},"0.2.0":{"name":"js-component-tools","description":"JavaScript tooling for working with WebAssembly Components","version":"0.2.0","exports":"./api.mjs","types":"api.d.ts","author":{"name":"Guy Bedford"},"bin":{"jsct":"cli.mjs"},"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"keywords":["Wasm","WebAssembly","Component"],"license":"Apache-2.0 WITH LLVM-exception","bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"homepage":"https://github.com/bytecodealliance/js-component-tools#readme","gitHead":"bc84a3ff569ce15d9c28bbe6d3ddf30d1f7fb023","_id":"js-component-tools@0.2.0","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-duo0tLRhgJ/IR1mSc/v2gB8vzhjfJOzTRzxcgYEwEoIGh1zxd4XY5Lcu1PfdSNakotJG9d04d+5mTprrV+QL9w==","shasum":"4d6eff484fedcdca3108921e56987b8f82d6f3ef","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.2.0.tgz","fileCount":8,"unpackedSize":26564263,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwyh95JJq7nODm3i04TEdTKGJ1/R47Yx1oVnuut+k0QAiBKgH/jKs7/++6QHRCzpMLWMwLDGCoE7e3E7xyIY8vLKQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjo4igACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0LxAAl8/Yy7hQJbfx3IOimSJExQZvdhQ11eiGaPlbk+pVPD2VTmoB\r\noCr31VRn8LXlFyOPIeyiJP0sX+xuzX2xc5Vb7PxHs1F2yQFknP5YtKUS+XZf\r\noSyTc5oz9TNax6M1MoCmhblH2mpHiVWzb72RWlQ2aA4p6YGoXI4ZiJNyx8ry\r\nCO82hjAjZ9RE1JMwMq8sGpepLJntcbYAFhI+h4RaWnf3RefNgp7aSrbrygKu\r\nDVZFG1gJZLAlkJmGENCQW1VteRVoNrNHXOZoKyl2sgJ2qXYhAnD8Vei6bO2z\r\nIOqxeEOF+6YwBmfeyFMxOucmRaUGiaYEXpMm0+7UjAgaj7hCXUlxq8NU+w6u\r\n9Bb3sH1f1i/qOd0nnd72OAqLfw7U4CiWN3w/DgFjkyfz1e+Xy6AP/1VdnG5p\r\nmjTj4LR2x0vFv6auLha9NxuZs033oqGkCbjkVcfW9zzEmEpm00CB4MQqwJon\r\nbcUpQqyEX0YnQ/jY107YmHYdRWCnG2DJYgFBe2sN7tSn9QI6Mi5GoCZgXuM4\r\nInECjJFKTvDobI8bvV1ClF6Dkd9uS57EJaP+Rcuz2K0gM5/yZz69uFpWJxbs\r\n7uSu9N1iJZKQZ1SNPQb9Rq2OuMwhTKNsejNHuM6cn03J6rpzHZEyxaecUAwz\r\nu6a1fT0LyIDS2IheJTNkZdDjC+uAt3ktbzM=\r\n=Jwbq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.2.0_1671661728196_0.14250985371139957"},"_hasShrinkwrap":false},"0.2.1":{"name":"js-component-tools","description":"JavaScript tooling for working with WebAssembly Components","version":"0.2.1","exports":"./api.mjs","types":"api.d.ts","author":{"name":"Guy Bedford"},"bin":{"jsct":"cli.mjs"},"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"keywords":["Wasm","WebAssembly","Component"],"license":"(Apache-2.0 WITH LLVM-exception)","bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"homepage":"https://github.com/bytecodealliance/js-component-tools#readme","gitHead":"baffc501223f804e65617c40c3ddd84b6884b4f6","_id":"js-component-tools@0.2.1","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Vjbtk7n2rqC+pkFFFLz74GLGH8tUwCjmetqUR8heYFf2bFVWqbp4XgLT8IgbDb4M/rpUfj7z6asRghlU8xPsbg==","shasum":"983522c672ae9d825d18181dbd1822c9aabe309c","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.2.1.tgz","fileCount":9,"unpackedSize":26571161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEVGJ1h+JGbO5IZ7IORfWVHh5kXC07SIGJ+b3JVSsMbAiA2YkgQjWsKu8DsfUubypsAafXvxl2KAjsEHGyf2Rp0sw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjo6FLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrS3w/+K4Q5/hRKc/JdDmg8TAVRk/NruOcNyybmRKEmyrAQk37y3Vq6\r\nU+MCS3+5GG1QfqBwxbRYQdXde+JA6B4nZ60Bj+bfPqzZc3RS6kyibYSvVMa7\r\nNoXIjSsBSoRHRvi4x3739FX49zWPO730sjKxyCOqAOXa8LE10Wdet5QJVGAI\r\nXtVGfL+QjaeF0DyMEB8Uhp/j1q30kblyGwlIGTJVvHRGfqWTHfjz+MtxqlcQ\r\nHdNFtNyigDWreVcse0b06v5a75Kg/X5XrG0efyNSySc4ezOR77zDwGtjAudT\r\nH/ew5RCg5j7qRthJIiKvKnV62+VMlvFDNwwScDh1vMZfgnmUnirdlaL9YH81\r\nFI4+7G8orO53tua8cjIGxD9DPPv1NkQ0mVkX+jIXaAIkqGxvnjtWrqU78NIU\r\nU7ebIiHqVPfTpsxKo8pwhdu95VzBvqq47NPbgDop7Tq4SyWFsadyzMlHqD+b\r\naRTlsCdvwIinHBoDpXXjU0/56X7E7JFeaktIg4mMojo0ewskCC9A7iuhr+30\r\nTTJNkGC3BZ7v1V2UUZSXDiI9iVOHV6Jgu8Wl6qn1G1qtgqqLi0f9knWMcQXx\r\nc7CrIiTTDT8M1KTdB9+RQsszMijio0LLMWnUJU+W1OO7luRQm/fMSRJ/Pfc3\r\nyOUgW2WueS/1C8NMWp7wReZ7D++4Zdlmbew=\r\n=FTvb\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.2.1_1671668042683_0.3000870185684539"},"_hasShrinkwrap":false},"0.2.2":{"name":"js-component-tools","description":"JavaScript tooling for working with WebAssembly Components","version":"0.2.2","exports":"./api.mjs","types":"api.d.ts","author":{"name":"Guy Bedford"},"bin":{"jsct":"cli.mjs"},"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"keywords":["Wasm","WebAssembly","Component"],"license":"(Apache-2.0 WITH LLVM-exception)","bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"homepage":"https://github.com/bytecodealliance/js-component-tools#readme","gitHead":"76e87fbe8756b9015019d19998a0c77bdb3910d0","_id":"js-component-tools@0.2.2","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-+DorgW2JyOf3Qja35wtw0VQYkcdo4tkInapJ4xlPJXXW49RhEdNMzX/PoHKC5nS7AhV1VBweA1gmYOIYUOXDLw==","shasum":"4b8d676126772ca9a96332788e054435b25d02d8","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.2.2.tgz","fileCount":9,"unpackedSize":26587301,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi+5o6lMAz5SW9/5BxVI5Ub3Kg2NO8xhhU84WgtExwxgIgUkU7wCLxmAitf5IvAZOkwtXfMpO0MmkT1rgR+XgdtFI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjphitACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohTA/9F5c5e1nepFUYUj7GkmT6J3mTHvVcdnNxjh1ja82h2C5FDThT\r\nqJBotPOXfAnEBzZlEfvvY3FooSLqDyPgKhKunRuvqTTZPA7Tfwn5ejbq4T/h\r\nOrq50+jENt40R54C4U1pubLl0oC7vCERBHuN+G5FJkbsMUJrLekK7mEB6HZC\r\nofimnfQvq6Lmf0X+2a4fwJGxihfx9FiDVS+iHA473CMJQ/F6ZX8g1wkkMZVZ\r\nZ4oZ0Hz7W6pPnT21Rw+0314cAwPoQJFx+oNJYLjK/mGhIV408w8eR3F1wVIq\r\nEyw4f0MD0H2Xo7pipJIVLF36VPuywH+mG+T61HidTJ9NkLBCFlTxl/UcT8XG\r\nlFvKANSISaJIh6edvymAVOLUZUEuz49bUkGVi84zSzHuIOedN0KVxDtSJxNU\r\nHyHvqLrux8zYmKGa2nDuUBu9Zdwu6IOWTGmNL9TrDRqyfGhYTb+v+tsjkCd2\r\nsSAFSQYv/LKRBhF9fnNRJ4oaXf7VDKIusR5dYcPrir45tWFgOg5TLyWhdPQF\r\n+UKDvptHg0lQJ5x7bvnNT21prT3HvFxsm7CnvIzGzq8h8xLSYjUyQLvmz6ZX\r\nNMBwGLYk55TVNpiQhpRRA3oOoDThB2Pv02N6PTFi1irAIpwlNxyl41Xl4SOp\r\n7bmjpiIVafFeinJmbCOEegFHLBr0P4qbuE0=\r\n=bfB9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.2.2_1671829677025_0.8754234082477645"},"_hasShrinkwrap":false},"0.2.3":{"name":"js-component-tools","description":"JavaScript tooling for working with WebAssembly Components","version":"0.2.3","exports":"./api.mjs","types":"api.d.ts","author":{"name":"Guy Bedford"},"bin":{"jsct":"cli.mjs"},"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"keywords":["Wasm","WebAssembly","Component"],"license":"(Apache-2.0 WITH LLVM-exception)","bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"homepage":"https://github.com/bytecodealliance/js-component-tools#readme","gitHead":"a709bed2247907d11ada387735d96c82c1d43b09","_id":"js-component-tools@0.2.3","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-hktKSgBaEk/Ttpl3ejBseeQn4K41wJijEA8YgxGXhyfCf5zT7YdEq1LYn+IYCPENEVgdcPK1c2ntbPKVjWeNJg==","shasum":"1f7e6ae5cb689746783daac0ef62419aff472266","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.2.3.tgz","fileCount":9,"unpackedSize":26587329,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWYrdfXIFjtYFHYL1EWEcuoFF7Fed7frcHTcqTBtVuUwIgOweUfvaMS9fzXCiBvsSrCK+G4vobKapBeROdMOibXUk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtGdbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmraow//YPfjJAwbRzAdAbFwLWcF7OGb2fsxBQrQ0rqUZOrEcDL8SfVp\r\nnw46jcIFFM51LqFOGYsReqH4yg2rxRKo5QW1KPoLExvmlnOzhd5QCMJ9Ck7e\r\nxDt6Dvqb5m6NUKxsG4yKncYyUt9HhPS0TNwDFUC9BDBOGgsa/kbeTDRNomiY\r\nG2MJ4uG/yidsv21Zswkwr4g2vyEILGSePn7N5UEhFt1Q6nkJhSWzp2e1vLEm\r\nf7Z4CB74GAzBDVulmiscTZd36J1Kfb2KriSOJxCFMENm24o8LZQe62pefGKY\r\nnBAn2LTJTqfu2PU8RC7bgRe2aesE/QSZA0UJ0h3RLlICYqm314cXGikN6I8b\r\n0cJaZfvHeE/z/qnc+5t8Obu5TxopaoiCnJmCXDHhv+vH6KM2B9jj1W0xNGwk\r\nYXHbqhzqtAW9wWUV/8Hj2NGz1jWDzTnPDRrg+DZbmaRLwrkgmzJ4qD6VbDrL\r\nq22NU7sb3UO/Lh8qZ6MSkMWBObIczESjJQMfLGGuHM+d6h+p7Lpnkrs8BJFe\r\nnjZuQZ/sLxQ51NNVlgQDU+XZeAOBwiwHlAH2byyqXdwkzH59B+qykrqKXzXP\r\n2qFyUrRU39iz0DuVPzBQO7qcvUuh5ytasKjJRToCChGdt3OvtDxvTVcQ6g8q\r\n0J6Tyv9PA92lBT/uiMNOE8ZBpUGZBZ+yMjQ=\r\n=wq/y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.2.3_1672767323031_0.20607213959670712"},"_hasShrinkwrap":false},"0.3.0-beta.1":{"name":"js-component-tools","description":"JavaScript tooling for working with WebAssembly Components","version":"0.3.0-beta.1","exports":"./api.mjs","types":"api.d.ts","author":{"name":"Guy Bedford"},"bin":{"jsct":"cli.mjs"},"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"keywords":["Wasm","WebAssembly","Component"],"license":"(Apache-2.0 WITH LLVM-exception)","bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"homepage":"https://github.com/bytecodealliance/js-component-tools#readme","readme":"<div align=\"center\">\n  <h1><code>js-component-tools</code></h1>\n\n  <p>\n    <strong>JavaScript tooling for working with <a href=\"https://github.com/WebAssembly/component-model\">WebAssembly Components</a></strong>\n  </p>\n\n  <strong>A <a href=\"https://bytecodealliance.org/\">Bytecode Alliance</a> project</strong>\n\n  <p>\n    <a href=\"https://github.com/bytecodealliance/js-component-tools/actions?query=workflow%3ACI\"><img src=\"https://github.com/bytecodealliance/js-component-tools/workflows/CI/badge.svg\" alt=\"build status\" /></a>\n  </p>\n</div>\n\n## Overview\n\nJS Component Tools is a fully native JS tool for working with the emerging [WebAssembly Components](https://github.com/WebAssembly/component-model) specification in JavaScript.\n\nFeatures include:\n\n* \"Transpiling\" Wasm Component binaries into ES modules that can run in any JS environment.\n* Optimization helpers for Components via Binaryen\n* Component helpers available as a build of [Wasm Tools](https://github.com/bytecodealliance/wasm-tools).\n\nThis tool is designed primarily for working with already-created Component binaries, and not for creating Component binaries to begin with. For creating Components, see the [Cargo Component](https://github.com/bytecodealliance/cargo-Component) project for Rust and [Wit Bindgen](https://github.com/bytecodealliance/wit-bindgen) for various guest bindgen helpers.\n\n> **Note**: This is an experimental project, no guarantees are provided for stability or support and breaking changes may be made in future.\n\n## Installation\n\n```shell\nnpm install js-component-tools\n```\n\nJS Component Tools can be used as either a library or as a CLI via the `jsct` CLI command.\n\n## Example\n\nSee the [example workflow](EXAMPLE.md) page for a full usage example.\n\n## API\n\nThe below is an outline of the available API functions, see [api.d.ts](api.d.ts) file for the exact options.\n\n#### `transpile(component: Uint8Array, opts?): Promise<{ files: Record<string, Uint8Array> }>`\n\nTranspile a Component to JS.\n\n**Transpilation options:**\n\n* `name?: string` - name for the generated JS file.\n* `instantiation?: bool` - instead of a direct ES module, output the raw instantiation function for custom virtualization.\n* `map?: Record<string, string>` - remap component imports\n* `validLiftingOptimization?: bool` - optimization to reduce code size\n* `noNodejsCompat?: bool` - disables Node.js compatible output\n* `tlaCompat?: bool` - enable compat in JS runtimes without TLA support\n* `base64Cutoff?: number` - size in bytes, under which Wasm modules get inlined as base64.\n* `js?: bool` - convert Wasm into JS instead for execution compatibility in JS environments without Wasm support.\n* `minify?: bool` - minify the output JS.\n* `optimize?: bool` - optimize the component with Binaryen wasm-opt first.\n* `optArgs?: string[]` - if using optimize, custom optimization options (defaults to best optimization, but this is very slow)\n\n#### `opt(component: Uint8Array, opts?): Promise<{ component: Uint8Array }>`\n\nOptimize a Component with the [Binaryen Wasm-opt](https://www.npmjs.com/package/binaryen) project.\n\n#### `parse(wat: string): Uint8Array`\n\nParse a compoment WAT to output a Component binary.\n\n#### `print(component: Uint8Array): string`\n\nPrint the WAT for a Component binary.\n\n#### `componentNew(coreWasm: Uint8Array | null, adapters?: [String, Uint8Array][]): Uint8Array`\n\n\"WIT Component\" Component creation tool, optionally providing a set of named adapter binaries.\n\n#### `componentWit(component: Uint8Array, document?: string): string`\n\nExtract the WIT world from a component binary.\n\n## CLI\n\n```shell\nUsage: jsct <command> [options]\n\nJSCT - WebAssembly JS Component Tools\n       JS Component Transpilation Bindgen & Wasm Tools for JS\n\nOptions:\n  -V, --version                         output the version number\n  -h, --help                            display help for command\n\nCommands:\n  transpile [options] <component-path>  Transpile a WebAssembly Component to JS + core Wasm for JavaScript execution\n  opt [options] <component-file>        optimizes a Wasm component, including running wasm-opt Binaryen optimizations\n  wit [options] <component-path>        extract the WIT from a WebAssembly Component [wasm-tools component wit]\n  print [options] <input>               print the WebAssembly WAT text for a binary file [wasm-tools print]\n  parse [options] <input>               parses the Wasm text format into a binary file [wasm-tools parse]\n  new [options] [module]                create a WebAssembly component adapted from a component core Wasm [wasm-tools component new]\n  help [command]                        display help for command\n```\n\n## Contributing\n\nDevelopment is based on a standard `npm install && npm run build && npm run test` workflow.\n\nTests can be run without bundling via `npm run build:dev && npm run test:dev`.\n\nSpecific tests can be run adding the mocha `--grep` flag, for example: `npm run test:dev -- --grep exports_only`.\n\n# License\n\nThis project is licensed under the Apache 2.0 license with the LLVM exception.\nSee [LICENSE](LICENSE) for more details.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this project by you, as defined in the Apache-2.0 license,\nshall be licensed as above, without any additional terms or conditions.","readmeFilename":"README.md","gitHead":"cd0dc0ab26d6f59ee54715db922f33b7023c897a","_id":"js-component-tools@0.3.0-beta.1","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-zL96m1n2Fnn8EtvvNAccrJw/8ebj2a58QoQdr3VRlJuc/aU/orUdMLzIM2GcJjSyokTrjYB96WSLy4V7dWZJtA==","shasum":"a1d9c3d522ef0651ead23290ade4b2a983798f35","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.3.0-beta.1.tgz","fileCount":9,"unpackedSize":26875183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDZzNRbqNzoIlP7lWzj75NJpMcujO6l4zzmOQFpxjNFAiAka/Y7jm+Y7Mq/eA6L59SiXLHxPALQHOnxcuuFqW1Gbg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0bFHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqM0Q/+Jgzzkdzu/TnXU/5+eQDr3nFW84OhzC6Jzr8Na8N3e01TzurF\r\np+sy1wUxVRmbIOpd6sNHe0We9uSZqeIF9bErAvxL5Sy0eLDQuz0erxOxaCdv\r\nKBC+YPGweLsrxI3feV1JyhgW9E/+sSVMjOsbKgrKIbq+lb0kL+rZsC0AtS/m\r\n8Qm/sxOtgXwHBhafYSu1/XzrU3dvm832i5VylK1KxP43M0yrXiygJZ1byFfZ\r\nvBj6oFAQXfe+cGbJaHB/R3fC8Y2hVUYiCzYJpJCKR5YUu5F9vgwT5T7QTSCI\r\n/tiCU3Bqf7C7x9jDElJW1Vm0dfHpgsVoFlQrmlKvEm2kKQ8JTJBrZXxO4jht\r\nZrXEqJQvQfXCjLsuZuHpV8sjsad0VjBuy9f8YgOjx0n0WjQW5g54nriSmMOF\r\nt+FOxgphPfDMb8wTD8Ha7mkJ6SX7f8GSS7fH9rfur4EqqJc6g9R7efLI906P\r\nyEEpmaoXu3GKkK5HlpMnoBW1QoEcZXc630tcSofJDJHsaNhncAfKbWgodKzW\r\ncr4yDmxIfWh5SoQZQnr8dwLeCOP+fra9mRExn1M9837wrDhECGM+esznQRJn\r\nuUDDJ+psBEnuA+bYgdpnx6iJnyv0+DU+KOCXUavLtnZXdzbZBd/x1k18dByZ\r\nIfVKUDr7Zsf2WbH9ZZ0g3QtResoNUdTfJ00=\r\n=FhA2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.3.0-beta.1_1674686790726_0.1954934599818441"},"_hasShrinkwrap":false},"0.3.0-beta.2":{"name":"js-component-tools","description":"JavaScript tooling for working with WebAssembly Components","version":"0.3.0-beta.2","exports":"./api.mjs","types":"api.d.ts","author":{"name":"Guy Bedford"},"bin":{"jsct":"cli.mjs"},"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"keywords":["Wasm","WebAssembly","Component"],"license":"(Apache-2.0 WITH LLVM-exception)","bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"homepage":"https://github.com/bytecodealliance/js-component-tools#readme","gitHead":"854f25a631ea47387d2c9bb4571e3319e93cbe4a","_id":"js-component-tools@0.3.0-beta.2","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-42YqxLmgjHUYza/VOrZKpJ3iM/NjCRdLnRAvDyQpbQmf6IwIVUDZCSc7oEr0pXkBxUrK1RKMNuwQN7rNMrtxSA==","shasum":"103e32d280f5c0b388acb162f1fc5bf4f63fc6aa","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.3.0-beta.2.tgz","fileCount":9,"unpackedSize":27424575,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0/zMW299yTCLrQameokfLhMomKrexPDWocyDbWeMJIQIgF14ZC15wKTvhyte0naagsz1VYGBHsJdpLDxGl5TXgRg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2GbEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrsug//VQweMyetS5r7nvMmA2NO3NPuguG+0AzVCoejrzQrVyPq90t8\r\nfEuxe3rdE/gbAD3zAemhiouijC8+Z+MVO0j5d1Hi+jzYJdhkewdX6fL2tadp\r\nNJAzvk3/+LRBLvRQ3O4pIzQNx3W96r/dfXwmyxv6EOZoYRject5ehHCwK1Bc\r\nqqmo0NeFemayxG/65AvwOBU4e1FRkuuX1OLhgGJfnBLsdGq7v9U+tXjKi5Xb\r\npUkVgbizBHMfuta+HvOJ97WJr85xh0+aeI0GueW1moO6OyLrA/ccOwtgzLDd\r\nuSyf6fHQpmzex+wPj7dT+6JIt3UGdqKatVnKcRLlxaXjJABbw9zcASxRo7Pr\r\nzBdRAC/D0vi36q7GWLvWJvuHdnB46ng4QOY2BRVGujgqkXdQlPizvvl6F+M1\r\n2iXaTZRn5N6DczZ8S3FaUsVRIezXSDN/LyccxMRp9dw/PobyYBJJS1wnpDDL\r\nyWeOT428wa5Q9y5LmIHJkv1ekM6eHOkwXIpeEwMViLH6ACFcb04MA83AnOfe\r\nyCj3jFLtoRjhys9aRYwIyZFvEK3GQ5yKlJUSWaQDGsvf0ZYtV9WScQNnrlru\r\n2alf06w9wB23I20UqOLiVAVhwHgxC77nZb+SvFfUjVzXFWNUn7/X8EOfDlob\r\nU2Ejgwz8347WrJRshnhp9PRWpqcBYl7DK68=\r\n=NExd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.3.0-beta.2_1675126468389_0.2797532643529985"},"_hasShrinkwrap":false},"0.4.0":{"name":"js-component-tools","description":"JavaScript tooling for working with WebAssembly Components","version":"0.4.0","exports":"./api.mjs","types":"api.d.ts","author":{"name":"Guy Bedford"},"bin":{"jsct":"cli.mjs"},"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"keywords":["Wasm","WebAssembly","Component"],"license":"(Apache-2.0 WITH LLVM-exception)","bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"homepage":"https://github.com/bytecodealliance/js-component-tools#readme","gitHead":"d4fcc1072b4d43d8b796777fae6c3870f5a720ce","_id":"js-component-tools@0.4.0","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-kOmDf3luJ+qj04Ztt5xxP26lKlbLrnwr7pDC6kHjlulXad9VbKc+7eVvs75MLWeyL79ilwUxX1DXDqZlCGfSdA==","shasum":"a7cb0f3ee0863901b6ef328a22047bfb23343266","tarball":"https://registry.npmjs.org/js-component-tools/-/js-component-tools-0.4.0.tgz","fileCount":9,"unpackedSize":27618638,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFHY3cOM1Jz7U1XDHam6TsWkAz+0W27VXCOcGjbvdZNQIgK4OmlaThrJnyuAete+69gkzo27iUmSlYr1HoZM5OqQ4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7pFVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLLA/+PqR3HcNB4G5F5FXBhaJuoyvXrmcrYGb6/g4s5V/t8RA1iRcs\r\nPnThcB07esFE9UUPiRPE4CgD8xKqodHFuEAi0rl29i857aEEMqiZLxZxQ3rs\r\nw+QmNpWA2mJkQhHByjbVyv/bInXBmkGA8K9UmNlb/NASnA5saKd0REkWPLq0\r\ng+43F4LoNE7rtFNlbTn+1AvUcvacuiIQhHl8XreHPGVQ17aDyzO0ld3OORJ2\r\nA9r31KKkWFWJx+sTL4WUnP13C7OYJ/nUmsGJzZwS9KFX536GLmW6ytqFsymn\r\nvD4BprdiKFXWQLgIThuMdP9bJOheZLCQJw2L6hLhAdC+WfeWXVGnbEY5TpHQ\r\nlYWSFrF8RA5oKCSX1V8XmdNQw1DEPWlOHghkBXVmbJVEv8tY74XsD/v1FExB\r\ncP9JdZoQOt46+AlX06YlOY9VjSCuEzOgDS1O6zceqjrNjfCZBR4jnAzvvj76\r\nTlOLCw+g8y2AzuGbT+HkVxwPce8wKsPGHwrk7oH1rjexIgO4R6AjVd2pw7zV\r\nmKCSHGCROnEsHTKLbIccnHEqhX8NjJb9r/1zJPt3UVDf7m+jDE4qqJm9CfVv\r\n2vu7yE/Qg2dmyMVDWWQQ/2/YYHtHdADhmpmFXgLD+wJzJfbZnJjQ/JhXBI+0\r\nyy4umRLKt8nR/6h7NnateWybjBvl8k2AdSU=\r\n=AOZw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guybedford","email":"guybedford@gmail.com"},"directories":{},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-component-tools_0.4.0_1676579156764_0.41831035561898244"},"_hasShrinkwrap":false,"deprecated":"js-component-tools is now @bytecodealliance/jco"}},"time":{"created":"2022-11-17T00:48:33.328Z","0.1.0":"2022-11-17T00:48:33.773Z","modified":"2023-02-17T02:20:47.789Z","0.1.1":"2022-11-17T00:50:56.905Z","0.1.2":"2022-11-17T00:53:30.189Z","0.1.3":"2022-11-17T18:51:48.168Z","0.2.0":"2022-12-21T22:28:48.536Z","0.2.1":"2022-12-22T00:14:03.007Z","0.2.2":"2022-12-23T21:07:57.319Z","0.2.3":"2023-01-03T17:35:23.347Z","0.3.0-beta.1":"2023-01-25T22:46:31.094Z","0.3.0-beta.2":"2023-01-31T00:54:28.792Z","0.4.0":"2023-02-16T20:25:57.124Z"},"maintainers":[{"name":"guybedford","email":"guybedford@gmail.com"}],"description":"JavaScript tooling for working with WebAssembly Components","author":{"name":"Guy Bedford"},"readme":"<div align=\"center\">\n  <h1><code>js-component-tools</code></h1>\n\n  <p>\n    <strong>JavaScript tooling for working with <a href=\"https://github.com/WebAssembly/component-model\">WebAssembly Components</a></strong>\n  </p>\n\n  <strong>A <a href=\"https://bytecodealliance.org/\">Bytecode Alliance</a> project</strong>\n\n  <p>\n    <a href=\"https://github.com/bytecodealliance/js-component-tools/actions?query=workflow%3ACI\"><img src=\"https://github.com/bytecodealliance/js-component-tools/workflows/CI/badge.svg\" alt=\"build status\" /></a>\n  </p>\n</div>\n\n## Overview\n\nJS Component Tools is a fully native JS tool for working with the emerging [WebAssembly Components](https://github.com/WebAssembly/component-model) specification in JavaScript.\n\nFeatures include:\n\n* \"Transpiling\" Wasm Component binaries into ES modules that can run in any JS environment.\n* Optimization helpers for Components via Binaryen\n* Component helpers available as a build of [Wasm Tools](https://github.com/bytecodealliance/wasm-tools).\n\nThis tool is designed primarily for working with already-created Component binaries, and not for creating Component binaries to begin with. For creating Components, see the [Cargo Component](https://github.com/bytecodealliance/cargo-Component) project for Rust and [Wit Bindgen](https://github.com/bytecodealliance/wit-bindgen) for various guest bindgen helpers.\n\n> **Note**: This is an experimental project, no guarantees are provided for stability or support and breaking changes may be made in future.\n\n## Installation\n\n```shell\nnpm install js-component-tools\n```\n\nJS Component Tools can be used as either a library or as a CLI via the `jsct` CLI command.\n\n## Example\n\nSee the [example workflow](EXAMPLE.md) page for a full usage example.\n\n## API\n\nThe below is an outline of the available API functions, see [api.d.ts](api.d.ts) file for the exact options.\n\n#### `transpile(component: Uint8Array, opts?): Promise<{ files: Record<string, Uint8Array> }>`\n\nTranspile a Component to JS.\n\n**Transpilation options:**\n\n* `name?: string` - name for the generated JS file.\n* `instantiation?: bool` - instead of a direct ES module, output the raw instantiation function for custom virtualization.\n* `map?: Record<string, string>` - remap component imports\n* `validLiftingOptimization?: bool` - optimization to reduce code size\n* `noNodejsCompat?: bool` - disables Node.js compatible output\n* `tlaCompat?: bool` - enable compat in JS runtimes without TLA support\n* `base64Cutoff?: number` - size in bytes, under which Wasm modules get inlined as base64.\n* `js?: bool` - convert Wasm into JS instead for execution compatibility in JS environments without Wasm support.\n* `minify?: bool` - minify the output JS.\n* `optimize?: bool` - optimize the component with Binaryen wasm-opt first.\n* `optArgs?: string[]` - if using optimize, custom optimization options (defaults to best optimization, but this is very slow)\n\n#### `opt(component: Uint8Array, opts?): Promise<{ component: Uint8Array }>`\n\nOptimize a Component with the [Binaryen Wasm-opt](https://www.npmjs.com/package/binaryen) project.\n\n#### `componentWit(component: Uint8Array, document?: string): string`\n\nExtract the WIT world from a component binary.\n\n#### `print(component: Uint8Array): string`\n\nPrint the WAT for a Component binary.\n\n#### `metadataShow(wasm: Uint8Array): Metadata`\n\nExtract the producer toolchain metadata for a component and its nested modules.\n\n#### `parse(wat: string): Uint8Array`\n\nParse a compoment WAT to output a Component binary.\n\n#### `componentNew(coreWasm: Uint8Array | null, adapters?: [String, Uint8Array][]): Uint8Array`\n\n\"WIT Component\" Component creation tool, optionally providing a set of named adapter binaries.\n\n#### `componentEmbed(coreWasm: Uint8Array | null, wit: String, opts?: { stringEncoding?, dummy?, world?, metadata? }): Uint8Array`\n\n\"WIT Component\" Component embedding tool, for embedding component types into core binaries, as an advanced use case of component generation.\n\n#### `metadataAdd(wasm: Uint8Array, metadata): Uint8Array`\n\nAdd new producer metadata to a component or core Wasm binary.\n\n## CLI\n\n```shell\nUsage: jsct <command> [options]\n\nJSCT - WebAssembly JS Component Tools\n       JS Component Transpilation Bindgen & Wasm Tools for JS\n\nOptions:\n  -V, --version                         output the version number\n  -h, --help                            display help for command\n\nCommands:\n  transpile [options] <component-path>  Transpile a WebAssembly Component to JS + core Wasm for JavaScript execution\n  opt [options] <component-file>        optimizes a Wasm component, including running wasm-opt Binaryen optimizations\n  wit [options] <component-path>        extract the WIT from a WebAssembly Component [wasm-tools component wit]\n  print [options] <input>               print the WebAssembly WAT text for a binary file [wasm-tools print]\n  metadata [options] [module]           extract the producer metadata for a Wasm binary [wasm-tools metadata show]\n  parse [options] <input>               parses the Wasm text format into a binary file [wasm-tools parse]\n  new [options] <core-module>           create a WebAssembly component adapted from a component core Wasm [wasm-tools component new]\n  embed [options] [core-module]         embed the component typing section into a core Wasm module [wasm-tools component embed]\n  help [command]                        display help for command\n```\n\n## Contributing\n\nDevelopment is based on a standard `npm install && npm run build && npm run test` workflow.\n\nTests can be run without bundling via `npm run build:dev && npm run test:dev`.\n\nSpecific tests can be run adding the mocha `--grep` flag, for example: `npm run test:dev -- --grep exports_only`.\n\n# License\n\nThis project is licensed under the Apache 2.0 license with the LLVM exception.\nSee [LICENSE](LICENSE) for more details.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this project by you, as defined in the Apache-2.0 license,\nshall be licensed as above, without any additional terms or conditions.","readmeFilename":"README.md","homepage":"https://github.com/bytecodealliance/js-component-tools#readme","keywords":["Wasm","WebAssembly","Component"],"repository":{"type":"git","url":"git+https://github.com/bytecodealliance/js-component-tools.git"},"bugs":{"url":"https://github.com/bytecodealliance/js-component-tools/issues"},"license":"(Apache-2.0 WITH LLVM-exception)"}