Where does npm get the modules from?

Experience Level: Junior
Tags: npm

Answer

Npm downloads the modules from the a registry. The default public registry is running on the URL https://registry.npmjs.org. Note that it's not a standard website that you could browse. You use npm to communicate with the registry instead.

Related npm job interview questions
npm for beginners
npm for beginners

Are you learning npm? Try our test we designed to help you progress faster.

Test yourself