{"name":"metro-hermes-compiler","version":"0.74.0","description":"🚇 Hermes bytecode compiler for Metro.","main":"src/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/facebook/metro.git"},"scripts":{"prepare-release":"test -d build && rm -rf src.real && mv src src.real && mv build src","cleanup-release":"test ! -e build && mv src build && mv src.real src"},"license":"MIT","gitHead":"67d211d2c482977ae7e764a08f3a5e90bfcea743","bugs":{"url":"https://github.com/facebook/metro/issues"},"homepage":"https://github.com/facebook/metro#readme","_id":"metro-hermes-compiler@0.74.0","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-MXMR5xlaQudzFHO4l3vIyL/S55tDOhdtCJ4bbrMDQ97mXEiD47MLEdH6cRzoIM3DnR5TiZtwoU701Kz1aD/2Ng==","shasum":"4d77fc8cd850246847198e2e6498f40409c677ab","tarball":"http://registry-npm.ywwl.com/metro-hermes-compiler/download/metro-hermes-compiler-0.74.0.tgz","fileCount":6,"unpackedSize":1429592,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCu1BhjIJb5RQxObsauhk75/5WKyRTo50Db8jiGFyR4bAIhANqZfFILSRrO3EyJEQrecOj59duj/929yioS1Ty/a5ah"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvCGoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoqyg//aWNgzIB6gA0HUdx5L+P1h62yEOnLK56ioZVINUVRUvoEffMn\r\nwM2y7fQyVkkh9h3Sl/Xnl6HwiDn2ohzBJLiq7zyvzFZI+6YMSjvyTzK/2a8c\r\ngNgiIzTuAHjJxrLZLrGz7hDyANynje8eytU8imESZ8w5+yVN0SsiIinH+8Sn\r\nf+yMh4E76jDQsLGwsu3KtMQ+PzHEoPjwZYR7kn6+ombOk5bnGQtkfmbVLBRq\r\nZN9PTfWT3+Rd0phcXM1nJUgptGVEjbo6lkFW8KXVITuKFF2xub11L7d980Pj\r\nKpMesabFZZ2NLiBGLj7EtRN6B3sStY717gz4sNbom5oowbVCW1+RrlZpGAcR\r\nv5t95u0kelH2odH3ZNeJdZbzx/TZ+aJ7uvArYeGtg0c6xNN9eKW3UcZZ3RN4\r\n6q/Gse7W3wIw18MKlm6Inm0YwN2JtgqzC6smfvG6FGyfifPtws5kzhopsM9o\r\nDDBQQ1DHbpWFElx4de3OYv6exKGFpMZpMwjOJXFoPOxhUVk3o61m1dCtSHv/\r\nQdv+9fa/osqTGl+lH+iKMXM3mgMVuR2dTa6JQ5/qg/T6BrJoI8cN0P1hZCql\r\n60dxJLG0dVvx2kte4B9V/bTzuc07KHfNV0ZE33V1T7/nCpYOhZyNjBpgCPXl\r\np1MENlDmhvjq1ATaVihQbFGkLw8kbjj0uF8=\r\n=06fE\r\n-----END PGP SIGNATURE-----\r\n","size":475766,"noattachment":false,"key":"/metro-hermes-compiler/-/metro-hermes-compiler-0.74.0.tgz"},"_npmUser":{"name":"metro-bot","email":"metro-maintainers@fb.com"},"directories":{},"maintainers":[{"name":"fb","email":"opensource+npm@fb.com"},{"name":"metro-bot","email":"metro-maintainers@fb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/metro-hermes-compiler_0.74.0_1673273768329_0.10166486177937495"},"_hasShrinkwrap":false,"readme":"# Metro Hermes Compiler\n\nThis experimental module provides a high-level API to work with the Hermes bytecode compiler (HBC). HBC is integrated as a WASM binary generated by the emscripten toolchain and checked in as part of this package.\n\n## How to build HBC\n\nA pre-configured emscripten environment can be used through this [Docker image](https://hub.docker.com/r/trzeci/emscripten/). Docker can be installed via its [desktop app](https://docs.docker.com/docker-for-mac/). Make sure to increase resource limits (16G RAM, as much CPU as possible).\n\n```\ncd path/to/hermes/checkout\ndocker run -i -t --rm -v `pwd`:`pwd` trzeci/emscripten bash\napt-get update -y && apt-get install -y icu-devtools\ncd path/to/hermes/checkout\ncmake . -DCMAKE_TOOLCHAIN_FILE=/emsdk_portable/emscripten/sdk/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_BUILD_TYPE=Release\nmake -j emhermesc\n```\n\nAfter the build process finishes the Hermes Bytecode Compiler JavaScript file will be available in the `bin` folder.\n","publish_time":1673273768576,"_cnpm_publish_time":1673273768576,"dist-tags":{"latest":"0.73.10"}}