I wrote new project - clinch https://github.com/Meettya/clinch - js/coffee builder for browser.
In short its better than stitch - clinch parse source code to finde out dependencies by searching any `require()` statement. And it better than browserify - clinch have tiny browser-side overhead (about 40 LOC) and simply configuration at package build. At now clinch support js, coffee, json, eco. jade will be added soon. And may be I add simply API to inject custom loaders. My goal for clinch - create bilder tools, thats allow to use in my code npm-modules, just as it work for node. For example - if you want sprintf - just require it, it will be work in node, it should to work in browser. Take a look at demo http://meettya.github.com/clinch_demo/printer_example.html - its in Russian, but main idea should be clear. And it jsfiddle version http://jsfiddle.net/Meettya/TdkrM/embedded/result/ Also clinch do not define fake `require` in browser. Instead it create package (bundle) object variable and you may have any numbers of bundles on page, while it have different names. At bundle you may define any numbers of 'entry points' - 'bundle' much more better conception than 'app' idea. As builder tool clinch works like normal npm module, it may be used in express/connect to build bundle on the fly or create static file with cakefile or grunt. Clinch code worked asynchronously, have aggressive cache and smart cache invalidation. Clinch may replace modules, may assign 'environment' as bundle-wise (but not window-global) variable (for use `process` or something like it) and have 'turbo'-button if you place to bundle something like jQuery - just mark it 'requireless' and increase bilder speed. Also it take care about different version, but vanish all duplicates. So, try it out and give me some feedback please, I will improve it because I need it for myself :) Cheer! Meettya. PS. Sorry for my English, it so broken :) PPS. I start project before browserify v2 out, it loose some weight, but any way - clinch have some important to me features. -- -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
