新手入门

Yarn 是代码的包管理器。它允许你与世界各地的其他开发者使用和共享(例如 JavaScript)代码。Yarn 可以快速、安全、可靠地完成此操作,因此你无需担心。

¥Yarn is a package manager for your code. It allows you to use and share (e.g. JavaScript) code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don’t ever have to worry.

Yarn 允许你使用其他开发者针对不同问题的解决方案,使你更轻松地开发软件。如果你遇到问题,你可以报告问题或回馈,当问题解决后,你可以使用 Yarn 使其保持最新状态。

¥Yarn allows you to use other developers’ solutions to different problems, making it easier for you to develop your software. If you have problems, you can report issues or contribute back, and when the problem is fixed, you can use Yarn to keep it all up to date.

代码通过称为包(有时称为模块)的东西来共享。包包含所有共享的代码以及描述该包的 package.json 文件。

¥Code is shared through something called a package (sometimes referred to as a module). A package contains all the code being shared as well as a package.json file which describes the package.