DCX Technology RadarDCX Technology Radar
Adopt

We have decided to move Yarn into the "adopt" ring as it has continued to establish itself in recent years and has proven to be successful in many of our projects.

Yarn consistently offers better performance than npm and, in addition, provides both offline installation and the Plug'n'Play approach. With Plug'n'Play mode, Yarn replaces the node_modules directory with a virtual file system to enhance performance and save disk space.

Yarn is an excellent choice for monorepos, thanks to its support for workspaces, and is highly recommended as a package manager.

Trial
Trial

Yarn is a dependency management tool for frontend (node) projects similar to npm. It also uses the npm registry and infrastructure. According to Yarn, the benefits are that Yarn is much faster, automatically writes a .lock file and builds up a local cache to be even faster when installing packages again.

At DCX, we started using Yarn in different projects to evaluate if we can switch to Yarn for all projects.