yarn
    Overview
    Jobs
    API Reference
    Alternatives
    Dependencies
    Chat
    Issues
    Playground
    Contributors

yarn

📦🐈 Fast, reliable, and secure dependency management.

1.17.3  •  Updated 7 months ago  •  by yarnpkg  •  BSD 2-Clause "Simplified" License

Yarn

Fast, reliable, and secure dependency management.

Circle Status Appveyor Status Azure Pipelines status Discord Chat Commitizen friendly


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.

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!

Popularity

Weekly Downloads
887.4K
Stars
37.5K

Maintenance

Development

Last ver 7 months ago
Created 8 years ago
Last commit 3 months ago
1 day between commits

Technology

Node version: 8.6.0
5307.5K unpacked

Compliance

BSD 2-Clause "Simplified" License
OSI Approved
0 vulnerabilities

Contributors

340 contributors
Maël Nison
Maintainer, 153 commits, 393 merges, 102 PRs
Works at datadog
Burak Yiğit Kaya
Maintainer, 141 commits, 215 merges, 135 PRs
Works at Sentry
Konstantin Raev
Maintainer, 52 commits, 56 merges, 20 PRs
Works at Facebook
Jeff Valore
37 commits, 20 merges, 39 PRs
Ben Demboski
53 commits
Daniel Lo Nigro
Maintainer, 30 commits, 13 merges, 10 PRs
Works at Facebook

Dependencies

Ready for the next level?
Join Openbase's founding team to help us build the ultimate open-source app store, work with the latest technologies, and enjoy great culture, impact and autonomy
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookLinkedIn
© 2020 Devstore, Inc.