Skip to content

jbrelloch/scala-ts

 
 

Repository files navigation

scala-ts

scala-ts is a simple tool which can generate TypeScript interfaces and classes from Scala case classes.

It's helpful when working with REST-ful Scala backend and TypeScript frontend. Having defined Scala types returned by your endpoints you can easily generate TypeScript definitions for consuming these endpoints.

See Scala-ts: Scala to TypeScript code generator at Code with Style.

Usage

scala-ts can be used either standalone or as a sbt plugin.

See:

Build manually

It can be built from this source repository.

sbt +publishLocal

To run the tests, use:

sbt test

Travis: Travis build status

Credits

Many thanks to:

About

Scala to TypeScript code generator

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 99.7%
  • Java 0.3%