Yarn Fun
June 26, 2022

Yarn Fun

Anonymous | TrustRadius Reviewer
Score 9 out of 10
Vetted Review
Verified User

Overall Satisfaction with Yarn

We have a lot of NodeJS projects in the company I work for. This includes our customer database, which contains millions of records. Many of those projects also have a microservice architecture. In order to keep our code tidy and manageable, we segment it into logical NodeJS modules and use Yarn to install those modules and manage their versions. This is very important to us, as we need to reuse as much code as we can in different microservices (for authentication, calling other APIs, security ...)
  • Package management
  • Speed of download compared to npm
  • Moduel version control
  • Rarely, some server connection error appear, while npm works alright.
  • Sometimes, deleting the whole vendor directory is the best solution to solve weird issues.
  • You still might need npm to install Yarn.
  • Ease of use to manage our dependencies
  • Integration inside CI/CD pipelines
  • Its Performance
  • Deployments happen much faster.
  • Building and testing our apps is much more streamlined and efficient.
  • Makes it easier to write reusable code.
Compared to npm, Yarn is a clear winner here. npm does not look to be getting any improvements recently. And it's much much slower to run when installing project dependencies. This has a clear impact on the developer productivity but also makes deployments slower. So Yarn is still a much superior choice.

Do you think Yarn delivers good value for the price?

Yes

Are you happy with Yarn's feature set?

Yes

Did Yarn live up to sales and marketing promises?

Yes

Did implementation of Yarn go as expected?

Yes

Would you buy Yarn again?

Yes

There is really no real reason why not to use Yarn today. It's much faster than npm, and you will need a dependency management system anyway. The only thing that might be missing is the fact that it doesn't come natively with NodeJS, and you have to install it yourself. I'd like to see the NodeJS ecosystem include Yarn by default.