πŸ“¦πŸˆ Fast, reliable, and secure dependency management.
JavaScript Shell Other
Latest commit 45a32e0 Nov 22, 2016 @jvhoven jvhoven committed with kittens Actually use the flag (#1936)
Permalink
Failed to load latest commit information.
.github Add helpful nudge to yarnpkg/rfcs on issue template (#1650) Nov 3, 2016
__tests__ Rename ls command to list. (#1940) Nov 22, 2016
bin add a cache breaker to the yarn cache based on the current version to… Nov 21, 2016
end_to_end_tests Delete Docker container after test runs Nov 19, 2016
flow-typed/npm Cleanup workflow (#281) Sep 6, 2016
resources Minor misspell (#1811) Nov 15, 2016
scripts Verify GPG signature in installation script (#1949) Nov 22, 2016
src Actually use the flag (#1936) Nov 22, 2016
.babelrc Remove react Oct 11, 2016
.editorconfig Allow token replacement of .npmrc configuration with env vars (#1207) Nov 14, 2016
.eslintignore Misc stylings (#409) Sep 22, 2016
.eslintrc Created an .eslintrc file for the eslint configurations instead of ha… Oct 12, 2016
.flowconfig Update to Flow 0.33 (#487) Oct 4, 2016
.gitattributes Fix .gitattributes for binary files (#495) Oct 4, 2016
.gitignore Consolidate outdated logic and check for wanted > current (#1865) Nov 16, 2016
.npmignore Add more stuff to npmignore (#581) Oct 11, 2016
.travis.yml Remove NodeSource repo from Travis build (#1891) Nov 16, 2016
CODE_OF_CONDUCT.md add my personal email to code of conduct Aug 24, 2016
CONTRIBUTING.md add link to LICENSE file (#723) Oct 12, 2016
LICENSE remove patents and facebook license headers Sep 16, 2016
README.md Add usage section to README.me with link to docs (#1950) Nov 19, 2016
appveyor.yml Add webhook to archive AppVeyor build artifacts (#1631) Nov 3, 2016
circle.yml Verify GPG signature in installation script (#1949) Nov 22, 2016
gulpfile.js Lint: remove unused vars (#720) Oct 13, 2016
package.json Add automatic check for updates that nags the user when there's a new… Nov 14, 2016
yarn.lock Add automatic check for updates that nags the user when there's a new… Nov 14, 2016

README.md

Yarn

Fast, reliable, and secure dependency management.

Travis Status Circle Status Appveyor Status Discord Chat


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

Reliable: Using a detailed, 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 in the same exact way on any machine, regardless of install order.
  • Network Performance. Yarn efficiently queues up requests and avoids request waterfalls in order to maximize network utilization.
  • Network Resilience. A single request failing won't cause an install to fail. Requests are 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. 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!