Yarn is the hot new drop-in NPM replacement utility for projects using node.js packages. It's way faster, more stable, and more secure than NPM and you can use it with zero configuration on your end. In the sample for this video, the NPM install takes between 20 and 30 seconds for just a few packages, while the yarn install takes 4-10 seconds to install all of the node packages. Yarn is also more predictable across environments, so you don't need to npm-shrinkswrap anything, because Yarn manages the dependency tree with a yarn.lock file automatically. -~-~~-~~~-~~-~- Also watch: "Tailwind CSS - why CSS utility classes save so much time" 🤍🤍youtube.com/watch?v=oU5ar0dmQEY -~-~~-~~~-~~-~-
It's time I started using yarn, thanks for the scoop!
Fuck them both 🖕
Using npm to install yarn feels like such a dis
Who else is watching this in 2021?
OCW3Jz6F8Ek&t=0m26s 0:26 It's just like downloading chrome using IE
Thanks 4 the video!
How can I uninstall the yarn once installed ? I prefer npm
It is not a replacement. It is an alternative
Also, there is no problem with packages taking 30 secs to install. You do this only once
`yarn add` may be shorter than `npm install`, but not as short as `npm i`
Why not npm latest versions provide package-lock.json also it extracting packages locally which was downloaded in early projects.
$ yarn add uuid
Running an API with yarn on commandline..
$ yarn uuid
..is way better than this:
$ $(npm bin)/uuid
With yarn, a package is both an API and command-line tool:
npm 5 has all of this
Wow, 358 packages...
BOOM! Almost BOOM! BOOM!
well, I choose cnpm in china.. :sad:
I hate new wheel. NPM open source too. Just merge it.
xD almost boom
You should make a discord.js tutorial
so many tools. Im going to use this now. haha
Yark lock looks nice but when it comes to caching, npm has had it for some time already. You just need to enable it. medium.freecodecamp.com/npm-cache-the-unsung-hero-11e646c09791#.y5tnb4ebj medium.freecodecamp.com/npm-cache-the-unsung-hero-11e646c09791#.y5tnb4ebj