List the installed node modules and their versions for a given path.