Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
📦🐈 Fast, reliable, and secure dependency management.
Branch: master
Clone or download
VincentBailly and arcanis Retry on connection timeout (#7163)
* publish lib and retry on timeout

* update changlog file

* update changelog with PR link
Latest commit 8a671f1 Apr 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Fixes Node 10 CI on OSX (#6580) Oct 25, 2018
.github
__tests__ feat(audit): add filtering by severity level (#6716) Mar 17, 2019
bin Support Darwin bash in bin/yarn (#6568) Oct 23, 2018
end_to_end_tests Delete Docker container after test runs Nov 19, 2016
flow-typed/npm
packages
resources Improve rendering of Chocolatey package description (#6899) Jan 14, 2019
scripts Fixing dynamic require missing from webpack (#6908) Jan 14, 2019
src Retry on connection timeout (#7163) Apr 8, 2019
.babelrc
.dockerignore Add Dockerfile for building Yarn (#2628) Feb 11, 2017
.editorconfig
.eslintignore
.eslintrc.json
.flowconfig Pkg-tests testsuite (#5392) Feb 27, 2018
.gitattributes
.gitignore Yarn Plug'n'Play: Implementation (#6382) Sep 24, 2018
.npmignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile.dev fix: Add Node 10 support (#5769) May 23, 2018
LICENSE
README.md Add Azure Pipelines badge to README.md (#6720) Nov 26, 2018
appveyor.yml
azure-pipelines.yml Set up CI with Azure Pipelines (#6495) Nov 14, 2018
gulpfile.js
jenkins_jobs.groovy
package.json
renovate.json Enable Renovate master issue approval (#6490) Oct 4, 2018
yarn.lock Fixing dynamic require missing from webpack (#6908) Jan 14, 2019

README.md

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!

You can’t perform that action at this time.