Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:13Length:1.7 hours
  • Overview
  • Transcript

2.2 The Randomiser Module

Let's create a module for producing random numbers. You'll learn how to export your code via module.exports, and how other users can then require our module. We’ll then review how you can test your modules by using npm link to install them.