News for hackers. Stuff that matters.
Re:What the web platform can learn from Node.js: The Darwini... by substack on Wednesday December 16, 2015 @03:43PM (#10747169)
I'm not sure which xhr module you're referring to but the `xhr` package doesn't have this problem:

    $ npm install xhr
    $ browserify -r xhr | wc -c
    11147
    $ browserify -r xhr | wc -l
    390
    $ browserify -r xhr | grep Buffer
    $
Re:What the web platform can learn from Node.js: The Darwini... by matthewtoast on Wednesday December 16, 2015 @03:52PM (#10747246)
Correct and I shouldn't have mentioned XHR -- it was just a fake example for the sake of my point. I just went back and ninja-edited my original comment above to call it "ABCXYZ" so that it's clear I didn't intend to call out any specific package/author.