What's Browserify?


 No!

Module == Require.js

Browserifyhttp://browserify.org/

Usage

// main.js
var hoge = require('./hoge') ; hoge();//hello!
// hoge.jsfunction hoge() {  alert('hello!');}
module.exports = hoge; 

Usage


 $ browserify js/main.js -o js/product.js

Pros

  • Easy to use
  • Use NPM
  • Use Node.js API


    • Cons


      • Can't use async download
      • Fewer resoruce for Japanese
      • Can't set option

      Thanks!

      Photo Credit



      http://www.flickr.com/photos/psd/4123236978/
      Made with Slides.com