npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Question About Dependencies

If I upload a package with dependencies, and someone downloads my package. Will the dependencies get downloaded aswell?

Im wondering because if they dont get downloaded with the package then my api wont work.

What do you mean by “upload” and “download”? If you are thinking of npm publish and npm install then the answer is yes, your package dependencies are also installed when your package is installed.