Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including scalajs-starter with all npm packages installed. Try it out:

var scalajsStarter = require("scalajs-starter")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

scalajs-starter v1.0.9

Scala.js starter

npm Scala.js GitHub code size in bytes GitHub repo size CircleCI GitHub issues GitHub pull requests GitHub last commit GitHub


GitHub followers Twitter Follow



  • install sbt with instructions from
  • npm install scalajs-starter


  • build Scala to JavaScript
    npm run build
  • build & execute script
    npm start
  • test
    npm test
  • clean build folder
    npm run clean
  • run VanillaJS example
    npm run example-vanillajs


  • Scala.js skeleton (to be used & replaced by CLI)
  • sbt v. 1.2.8
  • Scala v. 2.12.8
  • Scala.js v. 0.6.28 (git tag 1.0.6)
  • Scala.js v. 1.0.0-M8
  • source maps


  • fix: use instead of reassigning globalThis to custom context (affects VanillaJS examples)

For complete changelog go to


  • module support: ES, CommonJS
  • interactive build
  • npx CLI
  • add another VanillaJS example (alternative without assigning to globalThis)

For complete roadmap go to

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free