# oracle/graaljs

GraalJS – A high-performance, ECMAScript compliant, and embeddable JavaScript runtime for Java

Repository: https://github.com/oracle/graaljs
Canonical: https://ross.abutalabs.com/products/graaljs
Homepage: https://www.graalvm.org/javascript/
Language: C++
License: UPL-1.0
License Family: other
Topics: graalvm, javascript, nodejs, java
Last push: 2026-08-26T16:55:31+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3060, "days_push": 7, "days_rel": 8, "gap_med": 47.0, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2022, forks 212 (observed 2026-08-28T04:06:06.479707+00:00)

## What it is
GraalJS is a high-performance, ECMAScript-compliant JavaScript engine implemented in Java on top of GraalVM. It can execute JavaScript and Node.js applications and be embedded in Java applications via Maven artifacts, offering Java interoperability and WebAssembly support.

## Use cases
- embed a javascript engine in a java application
- run node.js apps on the jvm
- migrate from nashorn or rhino to a modern ecmascript engine
- server-side rendering of react on the jvm
- script java applications with javascript
- run webassembly modules from javascript
- evaluate javascript in tools like intellij http client

## When to choose
- you need a fast, spec-compliant javascript runtime on the JVM
- you want to embed JavaScript scripting in a Java host application
- you are migrating legacy Nashorn or Rhino code to modern ECMAScript
- you need Java/JavaScript interoperability via GraalVM polyglot APIs

## When to avoid
- you need a standalone JavaScript runtime outside the JVM ecosystem
- you require all GraalVM optimizations while running on a stock OpenJDK
- your project depends on Nashorn/Rhino-specific non-standard behaviors

## Facets
- artifact type: library
- maturity: active
- function: interpreter, programming-language, sdk, developer-tools
- domain: programming-languages, developer-tools, web-development, cross-platform
- platform: jvm, cross-platform
- tags: javascript-engine, graalvm, ecmascript, polyglot, nashorn-migration, rhino-migration, embeddable, nodejs

## Member repositories
- oracle/graaljs (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:06.479707+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:00:06.889711+00:00, confidence not recorded.
  - readme: https://github.com/oracle/graaljs (fetched 2026-08-28T04:06:06.479707+00:00, sha dd61f4832d84)
  - homepage: https://www.graalvm.org/javascript/ (fetched 2026-08-29T10:40:04.958323+00:00, sha bcb672b31c26)
  - site_page: https://www.graalvm.org/javascript/docs (fetched 2026-08-29T10:40:04.967936+00:00, sha 11d023998689)
- Data as of 2026-08-30T08:39:29.467469+00:00.
