How can I download the source code of a package from npm without actually installing it (i.e. without using npm install thepackage)?
If you haven't installed npm, with the current public API, you can also access the information about a package in the npm registry from the URL https://registry.npmjs.org/.
Then you can navigate the JSON at versions > (version number) > dist > tarball to get the URL of the code archive and download it.