Socket
Book a DemoInstallSign in
Socket

esjava

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esjava

EXPERIMENTAL Java => ES6 Transpiler

latest
Source
npmnpm
Version
0.0.8
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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;
     }
   }

Keywords

java

FAQs

Package last updated on 23 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts