Scala.js

0.6.21

A safer way to build robust front-end web applications!

Correctness

Strong typing guarantees your code is free of silly mistakes; no more
mixing up strings or numbers, forgetting what keys an object has, or
worrying about typos in your method names. Scala.js takes care of all this
tedious book-keeping for you, letting you focus on the actual, more interesting
problem your application is trying to solve.

Performance

Scala.js optimizes your Scala code into
highly efficient JavaScript.
Incremental compilation guarantees speedy (1-2s) turn-around times when your code changes.
The generated JavaScript is both fast and small, starting from 45kB gzipped for a full application.

Interoperability

Scala.js loves JavaScript libraries,
including React and AngularJS.
You can use any JavaScript library right from your Scala.js code, either in a statically or dynamically typed way.
You won't even notice you're crossing a language border!
Learn more.

Excellent editor support

With Scala.js, typos and type-errors are immediately caught and shown to you
in your editor, without even needing to compile your code. Refactor any field
or method with ease, with the confidence that if you mess it up the editor will tell
you immediately. Stop flipping back and forth between your editor and MDN,
because your editor will display what methods are available, what arguments they
take, what they return, and even their documentation, right in-line with your code!