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

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...