Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


Node Package Manager Course: Build and Publish NPM Modules

via Udemy


Learn to build and publish your own npm modules so other developers can use

What you'll learn:
  • Install node version manager (NVM) to enable them use different versions of node
  • Learn to use git and node command prompt
  • Create and publish a package that generates random alphanumeric characters
  • Publish package that manipulates arrays
  • Publish package that works with strings
  • Learn to use node http module
  • Use javascript promises
  • Build and publish a package that interacts with an external API
  • Write unit tests to test javascript functions

NPM(Node Package Manager) is a package manager for node.js packages or modules. NPM consist of a command line client and an online database of public and private packages, called the npm registry. NPM makes it easy for javascript developers to share and reuse codes, and also makes it easy to update the codes. All packages on the npm registry solves at least one problem.A package comes with an important file called package.json which usually contains metadata about the project. Packages can be installed as dependencies which are used in the project or as dev dependencies which are only used for testing or for development. Examples of very popular packages are:

  • Express
  • Async
  • Mongoose
  • React
  • Moment
  • Request etc

Do you have an idea of a node package/modulethat will help other developers like you but don't know how to start or where to start from?

Are you looking to learn how node modules are built and published? Then this course is for you.

In this course, you will learn step by step on writing the javascript codes and adding them to the module files. You will write the codes from scratch and also learn how to publish the modules to the npm registry.

In this course you will createmodules that

  • Generates random alphanumeric characters
  • Allows arrays to be manipulated
  • Manipulates strings
  • Interact with external API to return results

You will also learn

  • To setup the project for git and add the codes to the github repository
  • To setup the projects for NPM
  • To write javascript functions to work with array and strings
  • To write unit tests using mocha, expect and supertest libraries
  • To publish the modules

Taught by

Uzochukwu Eddie Odozi

Related Courses


Start your review of Node Package Manager Course: Build and Publish NPM Modules

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free