Yarn is a package manager for JavaScript projects. It was created in order to address some of the problems that npm faced, such as slow installation times and bloated dependencies. Yarn can be used to install packages from both the npm registry and other registries, such as Bower and GitHub. Yarn caches downloaded packages, so installation is faster on subsequent runs. It also verifies package integrity before installation, to reduce the likelihood of errors. Yarn has a number of features that make it easier to use than npm, such as offline mode and support for multiple simultaneous installations. Yarn is quickly becoming the most popular package manager for JavaScript development, thanks to its speed, reliability, and ease of use.

Tap into the most driven engineers and designers on the planet