Go to file
Maël Nison 740c38c3a9 v1.22.22 2024-03-09 22:33:28 +01:00
.circleci Fixes missing argument in init 2021-07-05 22:10:32 +02:00
.github Configure bug report issue template (#7844) 2020-01-27 09:16:16 +00:00
__tests__ Removes tests with broken infra 2021-02-08 13:41:14 +01:00
bin Support Darwin bash in bin/yarn (#6568) 2018-10-23 15:11:15 +01:00
end_to_end_tests Delete Docker container after test runs 2016-11-19 15:43:09 -08:00
flow-typed/npm feat(version): Allow for prereleases flags and prerelease identifiers (#7336) 2019-06-13 22:39:28 +02:00
packages Fix minor typo in dependencies test (#7214) 2019-04-29 15:47:16 +02:00
resources Improve rendering of Chocolatey package description (#6899) 2019-01-14 15:03:02 +00:00
scripts Fixes the punycode deprecation warning 2023-12-02 13:13:21 +01:00
src Fixes the lockfile hydration of the `npm:` protocol (#9023) 2024-03-09 22:29:58 +01:00
.babelrc Yarn Plug'n'Play: Implementation (#6382) 2018-09-24 18:25:29 +01:00
.dockerignore Add Dockerfile for building Yarn (#2628) 2017-02-10 21:56:36 -08:00
.editorconfig Allow token replacement of .npmrc configuration with env vars (#1207) 2016-11-14 13:16:59 +00:00
.eslintignore chore(eslint): ignore packages dir (#4963) 2017-11-27 10:31:27 -08:00
.eslintrc.json Fix generated .pnp.js compatibility with Node 6. (#6871) 2019-01-04 12:30:54 +00:00
.flowconfig Pkg-tests testsuite (#5392) 2018-02-27 17:30:17 +00:00
.gitattributes Set tgz files as binary in git (#2273) 2016-12-16 17:19:45 +06:00
.gitignore Yarn Plug'n'Play: Implementation (#6382) 2018-09-24 18:25:29 +01:00
.npmignore Remove Roadrunner (#3079) 2017-04-08 14:55:11 -07:00
CHANGELOG.md Update CHANGELOG.md 2020-01-31 17:51:24 +01:00
CODE_OF_CONDUCT.md add my personal email to code of conduct 2016-08-25 00:42:42 +01:00
CONTRIBUTING.md docs(contributing): Direct contribution guides to the website (#4872) 2017-11-07 16:15:39 +00:00
Dockerfile.dev fix: Add Node 10 support (#5769) 2018-05-23 11:16:38 +01:00
LICENSE LICENSE: Specify BSD 2-Clause (#3133) 2017-05-13 00:26:34 +01:00
README.md Add Azure Pipelines badge to README.md (#6720) 2018-11-26 13:03:29 +00:00
appveyor.yml ci(perf): Set maxWorkers to match the number of cores available (#6249) 2018-08-09 15:42:14 +01:00
gulpfile.js Upgrade gulp v4 (#6143) 2018-08-22 20:32:02 +01:00
jenkins_jobs.groovy ci(brew): Pass access token to Homebrew job (#5862) 2018-05-24 12:59:31 +01:00
package.json v1.22.22 2024-03-09 22:33:28 +01:00
renovate.json Enable Renovate master issue approval (#6490) 2018-10-04 16:22:37 +01:00
yarn.lock Hotfixes for the 1.22.20 (#9009) 2023-11-14 10:21:54 +01:00

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!