Member-only story

How To Publish Your Own NPM Module

Share your re-useable code publicly or privately. Making an NPM Module is useful to understand whether you are coding in a corporate environment or just for fun.

Alex Z
7 min readAug 16, 2020

If you don’t know what NPM or an NPM Module is, you can view the description in the Node.js documentation, watch this intro video, or this more detailed video by the creator of NPM at JSConf.

In this blog post I’ll be going over how to make a super simple npm module — explaining the process while also touching on some important concepts of NPM as I go.

By the end of this post we will have made an npm account, an npm module, and also imported the module into another application for use.

You can view the finished module here on NPM:

Introduction

--

--

Alex Z
Alex Z

Written by Alex Z

Software Developer + Product Manager. Interested in Travel, Culture, Economics and the Internet. Join Medium: https://tinycode.medium.com/membership

No responses yet