projectodd/jvm-npm — pull request #2 by aslakknutsen (2014-05-28 17:05:17+00:00)
Title: A package.main can contain a reference to a dir

Without a addition of '/' as ext, this case it to look for /lib.js

NOTE: quick hack. I don't know the npm spec etc, but this made it work for me :)