4 ms·
It supports Node.js or is only for web applications?
by julianduque 13y ago
It supports Node.js or is only for web applications?
- romanovcode 13y agoIt supports Javascript. Node.Js runs on Javascript. Draw your conclusions.
- sjrd 13y agoTrue, but its main target is definitely the browser. The stand-alone interpreter of Node.js can run code written in Scala.js, and is actually used for benchmarks (along with d8) [1]. However, Scala.js does not emit Node.js modules, nor does it provide any built-in way to import other Node.js modules. [1] https://github.com/jonas/scalajs-benchmarks https://github.com/jonas/scalajs-benchmarks