A Nashorn script that allows for CommonJS module loading within the JVM.
Load the script wherever. Nothing has to be prepped. Once done, simply edit the modules root at the end of the function call and use as
normal. The only thing it requires is each module have it's own package.json
.
Free to use. Clone it, fork it, use it wherever you want. It's made to make your life easier.