Putting your code up on GitHub is helpful, but publishing your library to npm makes it even easier for people to use your library. In this lesson, you'll learn how to publish your library and validate that it published correctly.
If you have issues publishing your package is because there's already a starwars-names
package published, you should named it like yourname-startwars-names
for example.
Thanks for bringing that up @Alejandro. I would also recommend that if people are just following along, that instead of publishing a redundant starwars-names
package, that you publish it as a scoped module: https://docs.npmjs.com/misc/scope