Does using NPM as module not take care managing dependencies and the related paths?