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