To add Raphael-Scala-js to your Scala.js project include it in the build.sbt
resolvers += "Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
libraryDependencies ++= Seq(
"com.github.yoeluk" %%% "raphael-scala-js" % "0.2-SNAPSHOT"
)
The code is available under Apache 2 license. Feel free to contribute to it or to fork it.