top | item 6724641

An Attempt To Use Browserify

14 points| dikunlun | 12 years ago |wiredcraft.com

14 comments

order

hellopat|12 years ago

The title is a bit misleading. Only a small part of the article mentions Browserify. I was hoping for the authors take on the struggles and efficiencies, as I'm at the point where I need to make the decision to use Browserify for my companies client heavy apps.

etler|12 years ago

I'm using browserify to share code between the client and server, and it works just how you want it to. The api is very simple. There's a command line utility, but I decided to use the direct API to integrate it with my build system. You give it the files you want to bundle up, and then it gives you an output stream. Super simple, and works with no hassles.

The only problem I had was with recursive requires, but I created a pull request fixing the problem, and the team was very responsive about getting it fixed. The fix was integrated and put out the same day, so I didn't have to deal with any delays.

taterbase|12 years ago

I'd be happy to answer any questions concerns you may have, I've had some decent experience with Browserify and I've loved it.

masswerk|12 years ago

Er ... "I can now grab the user's webcam stream, generate a GIF, and let the user download or share it on an image hosting platform. And all of this is done in the front-end using a lightweight interface!" ... that's 3 lines (sorry: 4) of native JS, we need node-modules for this?

secoif|12 years ago

you can generate a gif with native js?

smrtinsert|12 years ago

I can't use this app unless it loses 80kb. Too bloated and heavyweight.

joemaller1|12 years ago

This blew my mind. I've been dabbling in Node, but I had no idea this much was possible. The GifMe demo would have been nearly enough, but wow, thanks for posting this.