Skip to content

Instantly share code, notes, and snippets.

View jesty's full-sized avatar

Davide Cerbo jesty

View GitHub Profile
@aesteve
aesteve / JSXTransform
Last active April 9, 2018 21:54
Transforming JSX with nashorn
import java.io.InputStreamReader;
import java.io.Reader;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import javax.script.Invocable;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;