Defining and Requiring Modules In this module, we will start creating CommonJS modules that can be loaded by Browserify. We will set up our sample project and install Browserify, then go over the rules used when Browserify locates modules. By the end of this module, you should be comfortable with the basics of Browserify and CommonJS modules.
Unit Testing Browserify Modules One of the nice things about breaking your code into smaller manageable chunks with the single responsibility is that it makes your code a lot easier to test. So each of our CommonJS modules should be easy to test, right? Well in this module, we will look at how we can unit test our modules and the difficulties that might arise.