Re:Ask HN: Should I use Yarn or NPM 5?
by timhigins on Sunday June 04, 2017 @02:51PM
(#14482880)
Same question here. Seems like the main advantage of yarn is their caching mechanism and flat dependency system. npm 5 appears to use some sort of caching (projects now include package-lock.json), and is supposedly much faster than before. I wonder if yarn still has advantages over npm?
Re:Ask HN: Should I use Yarn or NPM 5?
by lcdss on Saturday June 03, 2017 @04:27PM
(#14478309)
The answer is simple: any of them will work just fine. npm 5 brings many improvements, a lot in performance (in my tests the speed between them are very similar), and new functionalities (e.g. outdated command).