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. 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. 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!

Features

  • With Scala.js, typos and type-errors are immediately caught and shown to you in your editor
  • Refactor any field or method with ease, with the confidence that if you mess it up the editor will tell you immediately
  • Extensive standard libraries
  • Macros, to extend the language
  • Fully EcmaScript5 compatible
  • Easy and reliable refactoring

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

Apache License V2.0

Follow Scala.js

Scala.js Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Scala.js!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Compilers

Registered

2022-01-05