this post was submitted on 24 Jan 2025
14 points (88.9% liked)
Programming
17941 readers
134 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So, there are a lot of words in the post that I'm not familiar with (LoRA, Oobabooga, CivitAI). However, I think those are details about the actual library or package you're looking at, so I will not touch any of that.
I can strict answer the question "what is Yarn?"
Long story short, it's a direct "competitor" to NPM (Node Package Manager). In the earlier days of Node and NPM, Yarn was an attempt to improve certain weaknesses perceived in NPM (including speed and security). Yarn is still used in many codebases, but it's become less popular over the years as NPM has resolved many of the things that Yarn sought to fix. Also, Yarn version 2 made a major design change which some have viewed as too radical (though I'm unclear on the details as I've only dabbled in v2).
https://en.wikipedia.org/wiki/Yarn_(package_manager)
Also, yarn is developed by facebook.
yarn was popular because it could be a drop down replacement for npm. Now there must be a lock in to support edge cases most projects don’t need (or know about)?