I cannot believe it, I’ve just published my first npm package. Today’s lesson was about how to publish npm module.
The biggest lesson I learned today is that publishing npm packages it very easy and straightforward. I’ve also learned that I should run extensive testing before publishing the npm package. As you can tell on the version number of my module, I haven’t quite followed that approach initially. Nevertheless, I’m happy that my first package is available for the npm community and today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2008%20-%20Publishing%20package%20on%20NPM.