Thursday, July 1, 2021

Difference between npm and yarn

https://www.geeksforgeeks.org/difference-between-npm-and-yarn/


yarn was developed by facebook and is now open-sourced


https://www.sitepoint.com/yarn-vs-npm/


Key takeaway : yarn executes installs in parallel and hence is faster than npm, which installs packages sequentially. Secondly, npm allows packages to run code after installation, which can be viewed as a vulnerability, and yarn puts restrictions on this.

No comments:

Post a Comment

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...