Yarn uses the same registry that npm does. That means that every package that is a available on npm is the same on Yarn.
To install a package, run
yarn add package.
If you need a specific version of the package, you can use
yarn add package@version.
If the version you need to install has been tagged, you can use
yarn add package@tag.