This post attempts to compare RequireJS/AMD with Browserify/CommonJS as packaging and modularization approaches for modern web applications.
Modules are built according to the CommonJS pattern and work in both NodeJS and the browser. They export their dependencies through the module.exports
key.