Gathering detailed insights and metrics for hermes-engine-cli
Gathering detailed insights and metrics for hermes-engine-cli
Gathering detailed insights and metrics for hermes-engine-cli
Gathering detailed insights and metrics for hermes-engine-cli
npm install hermes-engine-cli
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
9,946 Stars
5,437 Commits
643 Forks
144 Watching
33 Branches
255 Contributors
Updated on 28 Nov 2024
C++ (51.78%)
JavaScript (36.88%)
Rust (5.69%)
Python (1.61%)
Java (1.53%)
TypeScript (0.88%)
CMake (0.54%)
Objective-C++ (0.54%)
C (0.2%)
Shell (0.18%)
Swift (0.11%)
NASL (0.02%)
Ruby (0.02%)
Cumulative downloads
Total Downloads
Last day
-48.2%
87
Compared to previous day
Last week
-14.4%
1,211
Compared to previous week
Last month
-13.9%
6,892
Compared to previous month
Last year
-77.4%
34,861
Compared to previous year
No dependencies detected.
Hermes is a JavaScript engine optimized for fast start-up of React Native apps. 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:
1mkdir hermes_workingdir 2cd hermes_workingdir 3git clone https://github.com/facebook/hermes.git 4cmake -S hermes -B build -G Ninja 5cmake --build ./build
Or if you're using Windows, the following should get you going in a Git Bash shell:
1mkdir hermes_workingdir 2cd hermes_workingdir 3git -c core.autocrlf=false clone https://github.com/facebook/hermes.git 4cmake -S hermes -B build -G 'Visual Studio 16 2019' -A x64 5cmake --build ./build
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:
1echo "'use strict'; function hello() { print('Hello World'); } hello();" | ./bin/hermes
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.
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.
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.
Hermes is MIT licensed.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
all changesets reviewed
Reason
license file detected
Details
Reason
project is fuzzed
Details
Reason
security policy file detected
Details
Reason
binaries present in source code
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
no SAST tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
23 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More