[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1154":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":31,"discoverSource":32},1154,"yarn","yarnpkg\u002Fyarn","yarnpkg","The 1.x line is frozen - features and bugfixes now happen on https:\u002F\u002Fgithub.com\u002Fyarnpkg\u002Fberry","https:\u002F\u002Fclassic.yarnpkg.com",null,"JavaScript",41505,2723,534,1869,0,4,8,2,45,"Other",false,"master",[25,26,27,5],"javascript","npm","package-manager","2026-06-12 02:00:23","> ## ℹ️ Important note\n> \n> This repository holds the sources for Yarn 1.x (latest version at the time of this writing being 1.22). New releases (at this time the 3.2.3, although we're currently working on our next major) are tracked on the [yarnpkg\u002Fberry](https:\u002F\u002Fgithub.com\u002Fyarnpkg\u002Fberry) repository, this one here being mostly kept for historical purposes and the occasional hotfix we publish to make the migration from 1.x to later releases easier.\n> \n> If you hit bugs or issues with Yarn 1.x, we strongly suggest you [migrate](https:\u002F\u002Fyarnpkg.com\u002Fgetting-started\u002Fmigration) to the latest release - at this point they have been maintained longer than 1.x, and many classes of problems have already been addressed there. By using the [`nodeLinker` setting](https:\u002F\u002Fyarnpkg.com\u002Fconfiguration\u002Fyarnrc#nodeLinker) you'll also have the choice of how you want to install your packages: node_modules like npm, symlinks like pnpm, or manifest files via [Yarn PnP](https:\u002F\u002Fyarnpkg.com\u002Ffeatures\u002Fpnp).\n\n---\n\n\u003Cp align=\"center\">\n  Fast, reliable, and secure dependency management.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fcircleci.com\u002Fgh\u002Fyarnpkg\u002Fyarn\">\u003Cimg alt=\"Circle Status\" src=\"https:\u002F\u002Fcircleci.com\u002Fgh\u002Fyarnpkg\u002Fyarn.svg?style=shield&circle-token=5f0a78473b0f440afb218bf2b82323cc6b3cb43f\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fci.appveyor.com\u002Fproject\u002Fkittens\u002Fyarn\u002Fbranch\u002Fmaster\">\u003Cimg alt=\"Appveyor Status\" src=\"https:\u002F\u002Fci.appveyor.com\u002Fapi\u002Fprojects\u002Fstatus\u002F0xdv8chwe2kmk463?svg=true\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdev.azure.com\u002Fyarnpkg\u002Fyarn\u002F_build\">\u003Cimg alt=\"Azure Pipelines status\" src=\"https:\u002F\u002Fdev.azure.com\u002Fyarnpkg\u002Fyarn\u002F_apis\u002Fbuild\u002Fstatus\u002FYarn%20Acceptance%20Tests\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fyarnpkg\">\u003Cimg alt=\"Discord Chat\" src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F226791405589233664.svg\">\u003C\u002Fa>\n  \u003Ca href=\"http:\u002F\u002Fcommitizen.github.io\u002Fcz-cli\u002F\">\u003Cimg alt=\"Commitizen friendly\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcommitizen-friendly-brightgreen.svg\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n**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.\n\n**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.\n\n**Secure:** Yarn uses checksums to verify the integrity of every installed package before its code is executed.\n\n## Features\n\n* **Offline Mode.** If you've installed a package before, then you can install it again without an internet connection.\n* **Deterministic.** The same dependencies will be installed in the same exact way on any machine, regardless of installation order.\n* **Network Performance.** Yarn efficiently queues requests and avoids request waterfalls in order to maximize network utilization.\n* **Network Resilience.** A single request that fails will not cause the entire installation to fail. Requests are automatically retried upon failure.\n* **Flat Mode.** Yarn resolves mismatched versions of dependencies to a single version to avoid creating duplicates.\n* **More emojis.** 🐈\n\n## Our supports\n\n### [Gold sponsors](https:\u002F\u002Fopencollective.com\u002Fyarnpkg)\n\n\u003Ctable width=\"100%\">\n  \u003Ctr>\n    \u003Ctd>\n      \u003Ca href=\"https:\u002F\u002Fwww.doppler.com\u002F?utm_campaign=github_repo&utm_medium=referral&utm_content=yarn&utm_source=github#gh-light-mode-only\">\n        \u003Cimg src=\"https:\u002F\u002Fassets.website-files.com\u002F5de9972f49103c5df3964004\u002F5f0c1146992a5e9e4fa553e6_logo.svg\" width=\"140\"\u002F>\n      \u003C\u002Fa>\n      \u003Ca href=\"https:\u002F\u002Fwww.doppler.com\u002F?utm_campaign=github_repo&utm_medium=referral&utm_content=yarn&utm_source=github#gh-dark-mode-only\">\n        \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F1037931\u002F151548177-308f0a41-fb0e-4311-9969-4a2455b08686.svg\" width=\"140\"\u002F>\n      \u003C\u002Fa>\n    \u003C\u002Ftd>\n    \u003Ctd>\n      \u003Cb>All your environment variables, in one place\u003C\u002Fb>. Stop struggling with scattered API keys, hacking together home-brewed tools, and avoiding access controls. Keep your team and servers in sync with \u003Cb>\u003Ca href=\"https:\u002F\u002Fwww.doppler.com\u002F?utm_campaign=github_repo&utm_medium=referral&utm_content=yarn&utm_source=github\">Doppler\u003C\u002Fa>\u003C\u002Fb>.\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd>\n      \u003Ca href=\"https:\u002F\u002Fworkos.com\u002F?utm_campaign=github_repo&utm_medium=referral&utm_content=berry&utm_source=github#gh-light-mode-only\">\n        \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F1037931\u002F151547094-7aa4a5cb-07e4-4b8a-ab8f-0a15fd63ab7d.svg\" width=\"140\"\u002F>\n      \u003C\u002Fa>\n      \u003Ca href=\"https:\u002F\u002Fworkos.com\u002F?utm_campaign=github_repo&utm_medium=referral&utm_content=berry&utm_source=github#gh-dark-mode-only\">\n        \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F1037931\u002F151547899-3655e0d3-3bdb-4351-bd75-af2bebd3ce92.svg\" width=\"140\"\u002F>\n      \u003C\u002Fa>\n    \u003C\u002Ftd>\n    \u003Ctd>\n      \u003Cb>Your app, enterprise-ready\u003C\u002Fb>. Start selling to enterprise customers with just a few lines of code. Add Single Sign-On (and more) in minutes instead of months with \u003Cb>\u003Ca href=\"https:\u002F\u002Fworkos.com\u002F?utm_campaign=github_repo&utm_medium=referral&utm_content=berry&utm_source=github\">WorkOS\u003C\u002Fa>\u003C\u002Fb>.\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Installing Yarn\n\nRead the [Installation Guide](https:\u002F\u002Fyarnpkg.com\u002Fen\u002Fdocs\u002Finstall) on our website for detailed instructions on how to install Yarn.\n\n## Using Yarn\n\nRead the [Usage Guide](https:\u002F\u002Fyarnpkg.com\u002Fen\u002Fdocs\u002Fusage) on our website for detailed instructions on how to use Yarn.\n\n## Contributing to Yarn\n\nThe 1.x codebase is fairly old and will only accept security fixes. For new features or bugfixes, please see our new [repository](https:\u002F\u002Fgithub.com\u002Fyarnpkg\u002Fberry) and its [contribution guide](https:\u002F\u002Fyarnpkg.com\u002Fadvanced\u002Fcontributing).\n\n## Prior art\n\nYarn wouldn't exist if it wasn't for excellent prior art. Yarn has been inspired by the following projects:\n\n - [Bundler](https:\u002F\u002Fgithub.com\u002Fbundler\u002Fbundler)\n - [Cargo](https:\u002F\u002Fgithub.com\u002Frust-lang\u002Fcargo)\n - [npm](https:\u002F\u002Fgithub.com\u002Fnpm\u002Fcli)\n\n## Credits\n\nThanks to [Sam Holmes](https:\u002F\u002Fgithub.com\u002Fsamholmes) for donating the npm package name!\n","Yarn 是一个快速、可靠且安全的 JavaScript 包管理工具。它通过缓存已下载的包来提高安装速度，并利用并发操作最大化资源利用率。Yarn 采用详细的锁文件格式和确定性算法确保跨系统的一致性和可靠性，同时使用校验和验证每个安装包的完整性以增强安全性。适用于需要高效依赖管理的前端开发场景，特别是对性能、一致性和安全性有高要求的项目。尽管 Yarn 1.x 版本已冻结，新功能和错误修复现在在 yarnpkg\u002Fberry 仓库中进行，但 1.x 版本仍然为历史兼容性和偶尔的热修复提供支持。","2026-06-11 02:41:59","top_all"]