Creating an npm package

I have enjoyed the easiness of npm packages a lot, they give you quick tools to do what they are specified for. I was so enthusiastic I wanted to make my own. Knowing it would be a lifetime study I am creating this post to document the basics and eventually more specific want to haves.