Popularity
9.7
Growing
Activity
7.1
-
38,466
605
2,531

Description

Fast: Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.

Reliable: Using a detailed, but concise, lockfile format, and a deterministic algorithm for installs, Yarn is able to guarantee that an install that worked on one system will work exactly the same way on any other system.

Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed.

Features: Offline Mode: If you've installed a package before, you can install it again without any internet connection. Deterministic: The same dependencies will be installed the same exact way across every machine regardless of install order. Network Performance: Yarn efficiently queues up requests and avoids request waterfalls in order to maximize network utilization. Multiple Registries: Install any package from either npm or Bower and keep your package workflow the same. Network Resilience: A single request failing won't cause an install to fail. Requests are retried upon failure. Flat Mode: Resolve mismatching versions of dependencies to a single version to avoid creating duplicates. More emojis

Code Quality Rank: L3
Monthly Downloads: 0
Programming language: JavaScript
License: BSD 2-clause "Simplified" License
Latest version: v1.22.4

yarn alternatives and similar libraries

Based on the "Package Managers" category

Do you think we are missing an alternative of yarn or a related project?

Add another 'Package Managers' Library

README

Fast, reliable, and secure dependency management.


Fast: Yarn caches every package it has downloaded, so it never needs to download the same package again. It also does almost everything concurrently to maximize resource utilization. This means even faster installs.

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.

Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed.

Features

  • Offline Mode. If you've installed a package before, then you can install it again without an internet connection.
  • Deterministic. The same dependencies will be installed in the same exact way on any machine, regardless of installation order.
  • Network Performance. Yarn efficiently queues requests and avoids request waterfalls in order to maximize network utilization.
  • Network Resilience. A single request that fails will not cause the entire installation to fail. Requests are automatically retried upon failure.
  • Flat Mode. Yarn resolves mismatched versions of dependencies to a single version to avoid creating duplicates.
  • More emojis. 🐈

Installing Yarn

Read the Installation Guide on our website for detailed instructions on how to install Yarn.

Using Yarn

Read the Usage Guide on our website for detailed instructions on how to use Yarn.

Contributing to Yarn

Contributions are always welcome, no matter how large or small. Substantial feature requests should be proposed as an RFC. Before contributing, please read the [code of conduct](CODE_OF_CONDUCT.md).

See Contributing.

Prior art

Yarn wouldn't exist if it wasn't for excellent prior art. Yarn has been inspired by the following projects:

Credits

Thanks to Sam Holmes for donating the npm package name!