# cincheo/jsweet

A Java to JavaScript transpiler.

Repository: https://github.com/cincheo/jsweet
Canonical: https://ross.abutalabs.com/products/jsweet
Homepage: http://www.jsweet.org
Language: Java
License: NOASSERTION
License Family: other
Topics: jsweet, javascript-transpiler, java, typescript, transpiler, compiler, language, javascript
Last push: 2023-12-16T06:27:18+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4161, "days_push": 991, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1490, forks 162 (observed 2026-08-28T04:04:52.426462+00:00)

## What it is
JSweet is a Java-to-JavaScript transpiler that compiles Java source code to TypeScript and JavaScript, leveraging javac and tsc for type-checked output. It lets developers use Java tooling and JavaScript libraries (via 'candies' API definitions) to build web applications for browsers, mobile web views, or Node.js.

## Use cases
- transpile java code to javascript
- write web apps in java
- share code between java backend and javascript frontend
- migrate legacy java code to the browser
- use javascript libraries from java
- generate typescript from java sources

## When to choose
- your team knows Java but targets the browser or Node.js
- you want to share domain logic between Java server code and client-side JavaScript
- you want type-checked JavaScript output with Java IDE tooling

## When to avoid
- you are starting a new web project with no existing Java code
- you need the latest JavaScript ecosystem features or frequent updates
- you require a transpiler with active community development

## Facets
- artifact type: library
- maturity: maintenance
- function: compiler, type-system, developer-tools
- domain: web-development, programming-languages, compilers, frontend, cross-platform
- platform: jvm, browser, cross-platform
- tags: java-to-javascript, transpiler, typescript, candies, source-to-source, javascript, nodejs

## Member repositories
- cincheo/jsweet (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.426462+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-30T08:20:16.045184+00:00, confidence not recorded.
  - readme: https://github.com/cincheo/jsweet (fetched 2026-08-28T04:04:52.426462+00:00, sha 4bbd79f70f59)
- Data as of 2026-08-30T08:39:29.467469+00:00.
