hermesvm

WebJar for hermesvm

License

License

MIT
Categories

Categories

Hermes Application Layer Libs Messaging
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

hermesvm
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

hermesvm
WebJar for hermesvm
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/facebook/hermes

Download hermesvm

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/hermesvm/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>hermesvm</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/hermesvm/
implementation 'org.webjars.npm:hermesvm:0.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/hermesvm/
implementation ("org.webjars.npm:hermesvm:0.1.1")
'org.webjars.npm:hermesvm:jar:0.1.1'
<dependency org="org.webjars.npm" name="hermesvm" rev="0.1.1">
  <artifact name="hermesvm" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='hermesvm', version='0.1.1')
)
libraryDependencies += "org.webjars.npm" % "hermesvm" % "0.1.1"
[org.webjars.npm/hermesvm "0.1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Hermes JS Engine

MIT license npm version PRs Welcome Hermes logo - large H with wings

Hermes is a JavaScript engine optimized for fast start-up of React Native apps on Android. It features ahead-of-time static optimization and compact bytecode.

If you're only interested in using pre-built Hermes in a new or existing React Native app, you do not need to follow this guide or have direct access to the Hermes source. Instead, just follow these instructions to enable Hermes.

Noted that each Hermes release is aimed at a specific RN version. The rule of thumb is to always follow Hermes releases strictly. Version mismatch can result in instant crash of your apps in the worst case scenario.

If you want to know how to build and hack on Hermes directly, and/or integrate Hermes built from source into a React Native app then read on.

The instructions here very briefly cover steps to build the Hermes CLI. They assume you have typical native development tools setup for your OS, and support for cmake and Ninja. For more details of required dependencies, building Hermes with different options, etc. follow these links instead:

To build a local debug version of the Hermes CLI tools the following steps should get you started on macOS/Linux:

mkdir hermes_workingdir
cd hermes_workingdir
git clone https://github.com/facebook/hermes.git
hermes/utils/build/configure.py
cd build
ninja

Or if you're using Windows, the following should get you going in a Git Bash shell:

mkdir hermes_workingdir
cd hermes_workingdir
git -c core.autocrlf=false clone https://github.com/facebook/hermes.git
hermes/utils/build/configure.py --build-system='Visual Studio 16 2019' --cmake-flags='-A x64' --distribute
cd build
MSBuild.exe ALL_BUILD.vcxproj /p:Configuration=Release

You will now be in a directory with the output of building Hermes into CLI tools. From here you can run a piece of JavaScript as follows:

echo "'use strict'; function hello() { print('Hello World'); } hello();" | ./bin/hermes

Contributing

The main purpose of this repository is to continue to evolve Hermes, making it faster and more efficient. We are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving Hermes.

Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing Guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Hermes.

License

Hermes is MIT licensed.

org.webjars.npm

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

Versions

Version
0.1.1