13 comments

[ 3.8 ms ] story [ 57.6 ms ] thread
Awesome. Thanks substack!
this is how we do!
What is this?
browserify is a javascript bundler that recursively analyzes all the node-style require() calls in your program to create a single javascript bundle for serving up to browsers.
Why use this over require.js? What benefits does this bring to the table?
Allows you to use commonjs instead of amd modules. Then you can manage your dependancies with npm.
You don't have to mangle your code to get it into the AMD format. Just require() like node.js or CommonJS.
For front end dev, is there a reason to prefer this over requirejs ?
Clean syntax. Minimum excess download.

Use it if you want to deliver your js in one bundle.

Great new site, love the 'browserify v2: less features, more unix!'

Look forward to trying to this out.

Awesome!