Live data from Hacker News

An Attempt To Use Browserify

wiredcraft.com

11–15 of 15 posts

Re: An Attempt To Use Browserify

#11
post #2

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.

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.

Do you have any opinions on Require.js vs Browserify? I've been using Require.js recently, but just discovered Browserify, and there seems to be mixed opinions on these two, but most blog articles and the like seem a little dated. Probably will have to build something non-trivial in both to know for sure, but if you have any insight on these two, would be glad to hear it.

Re: An Attempt To Use Browserify

#13
post #6
post #5

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?

you can generate a gif with native js?

Not exactly a gif-image, because of license restrictions (which may also be a problem with any OSS library), but image/png, image/jpeg and (Chrome) image/webp and any animations built of these. (This is a political issue and not a technical one.) To have gif, you would have to implement the algorithm by your own and pay fees or ...

Re: An Attempt To Use Browserify

#14
post #2

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.

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.

Post reply on HN