browserify v2 was just released! browserify lets you write node-style 
require() calls for browser code so that you can package up your scripts 
and npm modules into a single bundle to serve to browsers. browserify 
implements exactly the node_modules lookup algorithm so you can use many 
libraries written for node and published to npm in the browser without any 
modifications.

Here's the full writeup of the new changes: 
http://browserify.org/announcing_browserify_v2
* static module resolution for tinier bundles. Just ~250 bytes of prelude 
now.
* support for multi-file bundles for multi-page apps and better caching of 
infrequently-updating assets
* streaming bundle pipeline
* new "browsers" field support by https://github.com/shtylman
* less features

The core library itself is just 180 sloc now with the bulk of the 
functionality now handled by completely separate, reusable libraries that 
you can use to build your own browserify if you want. Most of what 
browserify provides can now be provided by this shell pipeline:

$ module-deps main.js | insert-module-globals main.js | browser-pack > 
bundle.js

Just `npm install -g module-deps insert-module-globals browser-pack` to 
play around with those streaming components.

tldr; less features, more unix!

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to