

Yarn resolves mismatched versions of dependencies to a single version to avoid creating duplicates.

Requests are automatically retried upon failure.

A single request that fails will not cause the entire installation to fail. Yarn efficiently queues requests and avoids request waterfalls in order to maximize network utilization. The same dependencies will be installed in the same exact way on any machine, regardless of installation order. If you've installed a package before, then you can install it again without an internet connection. Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed. Reliable: Using a detailed but concise lockfile format and a deterministic algorithm for install operations, Yarn is able to guarantee that any installation that works on one system will work exactly the same on another system. It also does almost everything concurrently to maximize resource utilization. Fast, reliable, and secure dependency management.įast: Yarn caches every package it has downloaded, so it never needs to download the same package again.
