{"name":"metro-hermes-compiler","version":"0.64.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","bugs":{"url":"https://github.com/facebook/metro/issues"},"homepage":"https://github.com/facebook/metro#readme","_id":"metro-hermes-compiler@0.64.0","_nodeVersion":"15.0.1","_npmVersion":"7.0.3","dist":{"integrity":"sha512-CLAjVDWGAoGhbi2ZyPHnH5YDdfrDIx6+tzFWfHGIMTZkYBXsYta9IfYXBV8lFb6BIbrXLjlXZAOoosknetMPOA==","shasum":"e6043d7aa924e5b2be99bd3f602e693685d15386","tarball":"http://registry-npm.ywwl.com/metro-hermes-compiler/download/metro-hermes-compiler-0.64.0.tgz","fileCount":6,"unpackedSize":1704014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfo7PSCRA9TVsSAnZWagAA9N4P/3lk5k/do7CUnKNJvm4+\n/mbQR3EGavbg3ST3e4JlW7m8pw5195/yZkGE0LjYmurB2PZd0xFhJP/9r4vQ\nHAOVEgEDn76ZZee0hTdkajz3AB30P3fZFLa3fzcugklm2P9B+jbwErUFp4ev\nj6ldtAqdQCf8IXNZzN/XqQVEYF17Cpe5mQx+6y6JkuHalQbvSCcZBZ556Tc5\nbQyY5b7geSeAdIXM1KZ4G6zqvimha3nQcOKXvxNQ8q1915NIp7eTSNLIKIMx\nl/+tM7jutVwNXlEHL84OtzGP27XEwdQV0eNlQQXpo81V/618mHxLznyMjXKS\n+htFgphyzifxZE+A0nfuIbReBcJG7KzbMcjB1NX3ukvp65gtx6mizaWPVlZo\nQxAPdaw0cbJXHhPdAKoLguBlWttgTcT6HItzHHVOoX6GO87X3gPSvMaD6ez3\nivSTBHiCl6p7QuLKDVb2ErHV0W2KgObF9UjUoTuU5/ju1m/EFOE+FTqx/fJa\nzFlRA/amI3Quk1OtDhhFrDBNTL3IdwPzh26OVAyGfnv4n/3PAHGJzp+j6/oG\n0t4a1T6Qe6bi/+iwNQEnpL0DuDQSXgYDV5H0OPf+SAz9bEnrgik+HTAAh9mG\n4of6eqySyY2IDac/CXf3k+cHzrQ7bwe6qXppjm0uWue9BxpTMYbcxO7GLCUx\nfUa7\r\n=Z0bk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGu/ifUObeNIePr7E7kyGU8z8IWykrmslCKiKiyoj7VZAiB1QwN4/181a0EV6T2t4+BJXzrndV7+WDUU2k+mOh0ROQ=="}],"size":517107,"noattachment":false,"key":"/metro-hermes-compiler/-/metro-hermes-compiler-0.64.0.tgz"},"_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"directories":{},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"metro-bot","email":"rafeca@fb.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/metro-hermes-compiler_0.64.0_1604563922258_0.880270942525369"},"_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":1604563922500,"_cnpm_publish_time":1604563922500,"dist-tags":{"latest":"0.73.10"}}