GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SharedType/sharedtype: Generate Typescript/Go/Rust types from Java

BranchesTags
Open more actions menu

Latest commit

 

History

74 Commits
74 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.mvn
.mvn
 
 
.run
.run
 
 
annotation
annotation
 
 
build-tool-plugins
build-tool-plugins
 
 
client-test
client-test
 
 
doc
doc
 
 
e2e
e2e
 
 
internal/src
internal/src
 
 
it
it
 
 
misc
misc
 
 
processor
processor
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
demvnw
demvnw
 
 
mount-tmpfs.sh
mount-tmpfs.sh
 
 
mvnw
mvnw
 
 
pom.xml
pom.xml
 
 
setenv
setenv
 
 

Repository files navigation

sharedtype-logo

Gitter CI Maven Central

SharedType - Lightweight Java Type Sharing

From Java:

@SharedType
record User(String name, int age, String email) {}

To Typescript:

export interface User {
    name: string;
    age: number;
    email: string;
}

Features

  • Java8+ compatible.
  • Generics support.
  • Compile-time constant support.
  • Fast. (Execution takes milliseconds with -proc:only.)
  • Simple global + type level configurations.
  • Multiple target language options: Typescript, Go, Rust.

Documentation

  • User Guide
  • Developer Guide

Similar Projects

  • bsorrentino/java2typescript
  • vojtechhabarta/typescript-generator
  • aws/smithy

Authors

Cause Chung ([email protected]), Jeremy Zhou ([email protected])

License

CC BY 4.0 CC BY 4.0

About

Generate Typescript/Go/Rust types from Java

Topics

annotation-processinggolangjavarusttype-generationtypescript

Resources

Readme
CC-BY-4.0 license
Activity
Custom properties

Stars

73 stars

Watchers

3 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.