Great project. I'm loving the idea behind it. Anyway, it would be great if you could add Java extensions such as .class and .jar to require.extensions, so that a simple require("foo.class") would return the whole API of the file.
Support for .java would be a nice-to-have, even when importing it will be pretty slow due to the compilation overhead.
Writing node apps that rely on Java libs would become much easier, and it wouldn't feel as if you try to write Java code in JS. I just want to use the helpers I wrote half a lifetime ago in Java with node, without remembering how Java worked.
Great project. I'm loving the idea behind it. Anyway, it would be great if you could add Java extensions such as
.classand.jartorequire.extensions, so that a simplerequire("foo.class")would return the whole API of the file.Support for
.javawould be a nice-to-have, even when importing it will be pretty slow due to the compilation overhead.Writing node apps that rely on Java libs would become much easier, and it wouldn't feel as if you try to write Java code in JS. I just want to use the helpers I wrote half a lifetime ago in Java with node, without remembering how Java worked.