News for hackers. Stuff that matters.
Re:The smallest JavaScript libraries on the internet by lr4444lr on Tuesday February 02, 2016 @09:14AM (#11019494)
Why do these JS framework comparison articles never include http://vanilla-js.com/ ? It's all the new rage, and has these other contenders beat every time when both post- and pre- compression.
Re:The smallest JavaScript libraries on the internet by cwt137 on Tuesday February 02, 2016 @09:43AM (#11019633)
Vanilla JS is nice, but I like Vapor JS better. It has some famous people behind it. Check it out https://github.com/madrobby/vapor.js
Re:The smallest JavaScript libraries on the internet by lr4444lr on Tuesday February 02, 2016 @10:16AM (#11019885)
Wow - the packed version even gives asm.js a run for its money!

Wonder if they'll make a CoffeeScript wrapper soon.

Thanks for the tip!

Re:The smallest JavaScript libraries on the internet by aikah on Tuesday February 02, 2016 @09:19AM (#11019518)
> Why do these JS framework comparison articles never include http://vanilla-js.com/ ? It's all the new rage, and has these other contenders beat every time when both post- and pre- compression.

A JS framework is vanilla-js by definition. What you people fail to understand is the difference between a language (Javascript) and an API (the DOM). There is no DOM by default with Node. It would be stupid to say that Node isn't vanilla-js. Someone who is using jQuery is (obviously) using vanilla-js. People who can't tell the difference are the ones that should be mocked, not the ones using a framework because it's convenient. So please go read the javascript spec and educate yourselves about what javascript is.

Re:The smallest JavaScript libraries on the internet by lr4444lr on Tuesday February 02, 2016 @10:12AM (#11019857)
> So please go read the javascript spec and educate yourselves about what javascript is.

That I can always do but sadly, developing a sense of humor for a healthy dose of lighthearted self-deprecation will pose a far more difficult challenge for many HN readers.

Re:The smallest JavaScript libraries on the internet by ferdamravenec on Tuesday February 02, 2016 @12:04PM (#11020680)
It's an occupational hazard. Sometimes the sense of humor gets minified/uglified and deflated along with the code.