{"name":"metro-hermes-compiler","version":"0.73.10","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":"1ab7ce71e053eea91688b0839a0d1e414e74469b","bugs":{"url":"https://github.com/facebook/metro/issues"},"homepage":"https://github.com/facebook/metro#readme","_id":"metro-hermes-compiler@0.73.10","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-rTRWEzkVrwtQLiYkOXhSdsKkIObnL+Jqo+IXHI7VEK2aSLWRAbtGNqECBs44kbOUypDYTFFE+WLtoqvUWqYkWg==","shasum":"4525a7835c803a5d0b3b05c6619202e2273d630f","tarball":"http://registry-npm.ywwl.com/metro-hermes-compiler/download/metro-hermes-compiler-0.73.10.tgz","fileCount":6,"unpackedSize":1429593,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICeMhz8GlHDmAlJGCW5lEMbDzvnxhxsaKqO1R5VaqWKzAiA4Fg81k05BxN1SUwDb02qrJnlivB7msB1zYsg6KfEv5A=="}],"size":475769,"noattachment":false,"key":"/metro-hermes-compiler/-/metro-hermes-compiler-0.73.10.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.73.10_1686156853329_0.537854357556327"},"_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":1686156853652,"_cnpm_publish_time":1686156853652,"dist-tags":{"latest":"0.73.10"}}