im using npm but a course i follow are using yarn and i started using both randomly when installing modules or run script, some error pops, any tips for me?
For further actions, you may consider blocking this person and/or reporting abuse
im using npm but a course i follow are using yarn and i started using both randomly when installing modules or run script, some error pops, any tips for me?
For further actions, you may consider blocking this person and/or reporting abuse
Emmanuel Mumba -
Mercy -
Saurabh Rai -
Clara Situma -
Top comments (3)
When
yarn
was new, it was a lot fastern thannpm
and a lot of people switched to it because of this fact.But today,
npm
is not that slow anymore and has improved a lot.You can research for benchmarks to get a fundamental statement, but in my opinion it is more of a personal decision now.
wow, the course on udemy i follow are using yarn, i think i will go with npm and try to do the same result like on the course using npm, thanks robin :)
You're welcome kafin :)
Maybe you can turn this comparison into your next article (just as an idea), I can imagine that this would be interesting to a lot of people asking themselves the same question.