circe / circe-yaml

YAML parser for circe using SnakeYAML
Apache License 2.0
141 stars 51 forks source link

ScalaJS support #285

Open mbaechler opened 2 years ago

mbaechler commented 2 years ago

As far as I understand, circe-yaml is not published as a ScalaJs lib.

Is there something I miss? If not, is there something preventing compilation into ScalaJs?

Thanks for your answer.

armanbilge commented 2 years ago

If not, is there something preventing compilation into ScalaJs?

Yes, this library depends on the Java Snake Yaml library, which isn't available for Scala.js (since it's written in Java).

Until recently, there weren't any YAML parsers written in pure Scala AFAIK. But now there is one from VirtusLab, so I created a fork of this project that uses it instead and cross-publishes for Scala.js

https://github.com/armanbilge/circe-scala-yaml/releases/tag/v0.0.1

mbaechler commented 2 years ago

Thanks very much for the link and the project, it looks really cool.