0

There are package managers like NPM and Yarn. They handle the package installations a bit different.

When all the packages has been installed, does the package managers do anything more? When starting for example Vue with yarn dev or npm dev does the package managers do anything or are they just let the packages run?

What I'm really after is if the package installers affect the performance even after the packages has already been installed.

Does package installers affect the packages only on installation or all the time?

3
  • Are you asking about running a dev environment vs deploying to a production environment? Can your question be paraphrased "Will installing a dev environment effect the performance of a production build an that machine?" Oct 17, 2021 at 10:49
  • @StephenOstermiller No, that's not what I'm after. My question is whether or not the package managers only affect the performance when packages are installed OR if they also affect performance when packages run. Oct 17, 2021 at 11:10
  • This question appears to be off-topic because it is about web development which is off-topic at Pro Webmasters. Web development questions may be asked at Stack Overflow but be sure to read their FAQ before posting to ensure your question meets their guidelines.
    – John Conde
    Oct 18, 2021 at 12:06

1 Answer 1

1

There is no difference in performance between yarn and npm except during the package installation process(install, update, and remove). For watcher and executions it's depend on script and node JS version, So package managers like NPM and Yarn doesn't affect watchers and executions performance.

Not the answer you're looking for? Browse other questions tagged or ask your own question.