force install index.js if main is "index"
better depends printing (idea comes from tree command)