Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
Lessons:13Length:1.7 hours

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.