Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

Whoa, how-to-publish-to-npm-testab does not exist yet

But that means it is now yours!

$ mkdir how-to-publish-to-npm-testab
$ cd how-to-publish-to-npm-testab
$ yarn init

Make your package

$ yarn publish