+ 4
What's yarn
Any information about yarn
4 Respostas
+ 2
What's the differences between it and npm
+ 1
yarn is a package manager like npm
https://yarnpkg.com/
+ 1
Both are same package manager only the commands are differnet.
I have heard yarn is faster but I prefer npm.
+ 1
Both are package managers as others have said. They both use the same registry by default (you can change this if you want) so it's not a question of whether any given package/library is available on yarn but not npm, or vice versa. In fact, yarn uses the npm registry.
There are some technical differences, and there may be some speed differences: yarn used to be faster, but now there's not much difference.
One very important point to keep in mind is don't try to mix the two within the same project.
I've found that many tutorials & blogs either have only npm instructions or both, but not many have just yarn.