Calgarypuck Forums - The Unofficial Calgary Flames Fan Community
Old 11-05-2021, 10:33 AM   #1
FanIn80
GOAT!
 
FanIn80's Avatar
 
Join Date: Jun 2006
Exp:
Default Node devs: NPM or Yarn?

I've been noticing a lot of newer stuff nowadays referencing Yarn instead of NPM. I know Yarn was created to counter some of NPM's problems back in the day, but is that still true? Does anyone know of any un-opinionated reasons to still switch to Yarn in the current day? Or I guess maybe some opinionated reasons too (it does x better!).

Everything else aside, I just wish one of them would come up with an 'audit fix' for global packages...
FanIn80 is offline   Reply With Quote
Old 11-05-2021, 03:13 PM   #2
Since1984
First Line Centre
 
Join Date: Nov 2007
Exp:
Default

All I know is we use yarn without issues.
Since1984 is offline   Reply With Quote
The Following User Says Thank You to Since1984 For This Useful Post:
Old 11-06-2021, 02:24 PM   #3
Shazam
Franchise Player
 
Shazam's Avatar
 
Join Date: Aug 2005
Location: Memento Mori
Exp:
Default

Never globally install anything.

You should pick or the other for a project.

Yarn can be faster because it can install packages in parallel.

I just use npm because, well, it's there and because everything from Facebook sorta sucks.
__________________
If you don't pass this sig to ten of your friends, you will become an Oilers fan.
Shazam is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:17 PM.

Calgary Flames
2021-22




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2021