Side by side
Kotlin/JS vs Scala.js
Both stand on code transpilers. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan LinuxMacWeb+1
Kotlin/JS lets developers use Kotlin in browser and Node.js projects, with framework wrappers and multiple module formats. Note that Karma is deprecated and the alternative browser-testing DSL is experimental.
Visit Kotlin/JS Free plan APILinuxMac+2
Scala.js brings Scala typing and tooling to JavaScript development, with listed routes to interoperate with JavaScript libraries. Review the 1.22.0 compatibility note if upgrading from 1.21.x.
Visit Scala.jsThe facts
| Kotlin/JS | Scala.js | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux, Mac, Web, Windows | API, Linux, Mac, Web, Windows |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 1 |
| Maker | Not published | Not published |
| Website | kotlinlang.org | scala-js.org |
| On code transpilers | #10 of 28 | #14 of 28 |
Kotlin/JS: what it does well
- Compiles Kotlin and compatible dependencies to JavaScript.
- Targets browsers and Node.js.
- Supports four JavaScript module systems.
- Can share logic across web, JVM, Android and iOS.
- Gradle plugin generates JavaScript source maps.
What to know first
- Karma is deprecated and will not receive expected updates.
- Browser testing DSL is experimental.
Scala.js: what it does well
- Compiles Scala applications for browsers, Node.js, and serverless environments.
- Supports JavaScript libraries and APIs.
- Offers four named build tool options.
- Editor support flags typos and type errors.
- Free under Apache License 2.0.
What to know first
- The 1.22.0 release is not entirely source compatible with 1.21.x.
- Tutorials list Scala development tools and Node.js as prerequisites.
Alternatives to Kotlin/JS Alternatives to Scala.js The whole list

