What is Browserify?
CommonJS makes it extremely easy to declare a project’s dependancies of a script using a simple require function. Being able to leverage modules from Node.js’ core, or from modules installed through npm is as simple as require(‘module-name’); The require function also allows for leveraging modules that have been created in a project. These require’s are used with the ‘./’ that indicates the module is referenced from the current directory. As these modules are modified so will the scripts that require the modules as dependencies.
How to start using Browserify
Adding Browserify to a project is done through ‘npm install browserify -g’. There’s also Grunt and Gulp tasks available for Browserify to help leverage the functionality in a project build environment.
Check out Browserify’s documentation for more information on ways to leverage it in a project.