A java class to write a string to a file.
Then transpilled to JS using cheerpj.
HowTo call in JS:
cheerpjRunMain("Writer", "/app/path/to/jar/writerCJ.jar", "path/to/file/to/write/to.ext", "String to write!");
Copy both:
bin/writerCJ.jar
bin/writerCJ.jar.js
to your server.