Organize + Automate + Deploy = Webpack Chapter 16
Once registered, you're done and can come back to the command line. You must log in to
the npm registry from the terminal with the following command:
npm adduser
You will see something like this:
You will have to enter the password you just entered for the npm website.
The next command will publish your library in the public repository:
npm publish
Now you can even look up your package and, sure enough, you will find it as shown in the
following screenshot: