The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Is it possible to download packages from npm to a different folder, other than node_modules?
But I wanted to pass a list that differs from the “dependencies” that is in package.json.
This is not possible, no.