HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
yarnpkg
yarn
JavaScript2016–2023
yarnpkg / yarn

yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry

53Distinct people
57Mentions
0Explicit recommenders
41.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

  • npm/npm · linked in 3 of the same discussions
  • yarnpkg/rfcs · linked in 2 of the same discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year57 dated mentions

Observed mentions: 2016-10-11 15:09:15 UTC to 2023-02-28 20:39:14 UTC.

05101520252016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 23 mentions; 5 submissions, 18 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 13 mentions; 3 submissions, 10 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 8 mentions; 3 submissions, 5 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC23518
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC13310
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC1019
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC835
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

57 sources
Yarn definitely shot themselves in the foot badly. PnP identified real problems & came up with a solution, but pnpm is doing a similar set of tricks but in a Node-ecosystem-compatible way, with next to no compatibility issues (versus package maintainers having to each individually support Yarn V2 PnP). Yarn V2 seemingly thought they could get the entire npm package world to switch to yarn, saw their growth & saw the thought-leaders & decided their winning was a fait-accompli. And they didn't really execute very well... v2 landed, there was controversy, and there's been so little visible or exciting good news about it. It over-played Yarns so hand they renamed Yarn v2 as Berry, just to re-gather the troops & make a staging point forward. But it's still an incredibly hard pill to swallow, and the "yarn (berry) is great, the ecosystem needs
Read the rest
to change" attitude seemingly isn't gaining any traction and it's hard to tell where Yarn could go. In Yarn v3[1], they've introduced a modular "linker" system for how to install packages, that seemingly might get them able to experiment around/play around a little more & be less constrained than the hard-path they'd crusaded for. One thing I will say for Yarn, that makes me unbelievably happy versus npm (announced during the V2[2] announcement): > Yarn is first and foremost a Node API that can be used programmatically (via @yarnpkg/core) Npm is the premier tool for open-source javascript, but it itself is one of the least open-source efforts on the planet. I finally started digging around the npm package and it's underlying cacache cache-structure, and it's just infinitely unpleasant to get started with. There's maybe like 3 articles on the whole planet that have any guidance for what npm is inside, how it works, what you can do with it, how you can hack it. Yarn identifying that the package manager itself is something that developers need access to is a huge win & I want to thank them forever for putting that on their bullet list of great Yarn things. Pnpm by compare has a couple super simple things one can do with it as a library[3] - install, link, look at dependencies. But, like, looking at the cache & seeing whats there? Nope. Good luck. Like npm, it's a wonderful tool for open source but it's quite a poor showing as open source, doesn't make itself programmatically accessible. [1] https://dev.to/arcanis/yarn-3-0-performances-esbuild-better-... [2] "Yarn's Future - v2 and beyond" https://github.com/yarnpkg/yarn/issues/6953 [3] https://github.com/pnpm/pnpm/blob/main/pkg-manager/core/src/...
In Benchmarks of JavaScript Package Managers
Note that there's an error in the assumptions behind the discord regex, discord invites do not necessarily have "invite" in the url, and may use the domain discord.gg instead. For instance the yarn repo[0] uses the url "https://discord.gg/yarnpkg" which was missed by your search. Another worthwhile mention is the Svelte repo[1], which uses discord, but instead of linking directly to their discord invite, links to "https://svelte.dev/chat" which then redirects to their discord invite. Looking for the "discord.gg/invitecode" pattern[2] gives 27k results, safe to say discord is severely under-represented in your statistic. [0] https://github.com/yarnpkg/yarn [1] https://github.com/sveltejs/svelte [2] https://sourcegraph.com/search?q=context:global+https://disc...
In Please don't use Discord for FOSS projects

gitpkg: using git as dependency registry

Hello! Link: https://github.com/ramasilveyra/gitpkg A year ago I've published a tiny concept (or hack) to be able to have a private registry on a git repo that: - Works with projects with build steps. - Works with projects with multiple packages (monorepos). - Creates lightweight git tags (only the files needed are included). Some people told me that this can be a good idea and are eager to help me to build more stuff around this, like a tool to create a website from the gitpkg registry. What do you think? Should I give more time to develop this idea and build a more usable PoC? Example of issue that this concept could solve: https://github.com/yarnpkg/yarn/issues/4725 Thanks!
5 points · Open discussion

Showing the 15 most recent of 57 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.