Registry / other / scalajs-library-2-10

scalajs-library-2-10

JSON →
library0.6.33javamavenunverified

Scala.js library provides the core runtime for compiling Scala code to JavaScript, enabling full-stack web development.

<dependency> <groupId>org.scala-js</groupId> <artifactId>scalajs-library_2.10</artifactId> <version>0.6.33</version> </dependency>
INSTALL
IMPORT
SIG · SCALAJS-LIBRARY-2-
S
scalajs-library-2-10
otherjavav0.6.33
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

js
scala.scalajs.js

Exports a Scala object method to JavaScript using Scala.js annotations.

import scala.scalajs.js import scala.scalajs.js.annotation._ @JSExportTopLevel("MyApp") object MyApp { @JSExport def greet(name: String): String = s"Hello, $name!" }
Debug
Known issues
breakingScala.js 0.6.x is outdated; consider upgrading to 1.x for better performance and compatibility.
fix
Migrate to Scala.js 1.x by updating sbt plugin and library versions.
affects: <=0.6.33
Upgrade
Version history
0.6.33latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
scalajs-library-2-10 — mvn dependency:get scalajs-library-2-10 · libregistry