Publishing your first npm module, from top to bottom.
Great, you have some cool code that you use for your project, and you wish everybody could see how cool you are, and how clean your code is. Lucky guy, your code can totally be extracted to a small module in javascript, perfect occasion to publish your first npm module. Your code is ready, time to package, publish and enjoy.
###Creating your user
Assuming you have npm installed of course, run npm adduser
.
You will have to enter a username, name and email address. You can also sign up directly on the website.