Skip to content

mazko/ESJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESJava: EXPERIMENTAL Java => ES6 Transpiler

npm version Dependency Status devDependency Status

Example:

~$ npm i -g esjava

~$ echo '
   public class Horse extends Animal {
     Horse(String name) {
       super(name);
     }
     private static final int UNIVERSE = 42;
   }
   ' > HelloWorld.java

~$ esjava HelloWorld.java
   'use strict';
   class Horse extends Animal {
     constructor(name) {
       super(name);
     }
     static get UNIVERSE() {
       return 42;
     }
   }

About

Java => ES6 Transpiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published