Skip to content
forked from scala-ts/scala-ts

Scala to TypeScript code generator

License

Notifications You must be signed in to change notification settings

mblink/scala-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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: