Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.17 KB

README.md

File metadata and controls

36 lines (19 loc) · 1.17 KB

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: