What reasons are there for using yarn instead, other than preference? Are there pros/cons of both? Yarn uses the NPM registry for packages, doesnβt it?
I think it's a personal preference, yarn did have some issues some years ago where their registry was down all the time, so decided to stick to NPM myself.
Yarn has emojis, therefore it's better πββοΈ
On a more serious note though, it's mostly personal preference, and I really love that I can just run yarn and will install my packages, and it's output is a lot cleaner and easier to read than what npm produces.
What reasons are there for using yarn instead, other than preference? Are there pros/cons of both? Yarn uses the NPM registry for packages, doesnβt it?
I think it's a personal preference, yarn did have some issues some years ago where their registry was down all the time, so decided to stick to NPM myself.
yes, absolutely
Yarn has emojis, therefore it's better πββοΈ
On a more serious note though, it's mostly personal preference, and I really love that I can just run
yarn
and will install my packages, and it's output is a lot cleaner and easier to read than what npm produces.I prefer yarn myself. Less verbose and more concise API in my opinion.
it caches packages, so it is fast