Browserify lets you require('modules') in the browser by bundling up all of your dependencies.
require('modules')