by rohanpai on 2/17/13, 3:18 AM with 92 comments
by simonsarris on 2/17/13, 6:08 AM
I make GoJS, a HTML canvas-based diagramming library with all sorts of useful features. Node and link concepts (with data binding, templating), layouts, an undo manager, lots of customizable tools, drag and drop/cut and paste.
In other words, a very rich set of diagramming features atop HTML5 canvas.
I think its cool, because it took two years of canvas tomfoolery to get working well, and I think its much faster than similar diagramming libraries for canvas out right now. A lot of technically interesting stuff was encountered while making it, but I haven't had the time to write about my collected intricacies yet.
Or straight to samples:
http://gojs.net/beta/samples/flowchart.html
Firefox warning[1] for that specific sample though. I need to change the default sample this week.
[1] Super frustrating! The new IonMonkey JavaScript engine crashes under very certain conditions that are met during my link avoidsNodes algorithm. This means that Firefox 18 and 19 (but not 17 and 20) will crash on the Flowchart sample, because the link routing is set to use avoidsNodes. It's unfortunate but even though they're aware of the bug they aren't going to bother fixing it for FF19.
https://bugzilla.mozilla.org/show_bug.cgi?id=830063
~~~
By the way, if there are other canvas library authors out there who have had interesting (or downright weird) issues with various canvas implementations, I'd love to hear from you!
by daleharvey on 2/17/13, 4:03 AM
PouchDB is a full reimplementation of CouchDB inside the browser (using browser storage), you can build applications that work offline then sync your data with 'the cloud'
by tomasien on 2/17/13, 4:58 AM
http://angularjs.org/ Angular UI is amazing http://angular-ui.github.com/ And Angular for Bootstrap is also amazing http://angular-ui.github.com/bootstrap/
I'm not a great programmer, so that's what excites me. It's flexible enough that as you get better as a programmer, you can plug that right in.
And that's what I think is cool.
by shtylman on 2/17/13, 5:24 AM
by beefsack on 2/17/13, 5:09 AM
Even though it's not "cool" in the sense that it's very low level and doesn't do fancy UI stuff, my asynchronous code has become significantly cleaner and easier to maintain through using promises rather than having callback pyramids. The ability to wait for a number of promises to resolve before firing the next makes life so much easier too.
by double051 on 2/17/13, 5:37 AM
Github repo: https://github.com/mrdoob/three.js/
Examples: http://mrdoob.github.com/three.js/
by straws on 2/17/13, 5:32 AM
It breaks down large frameworks like jQuery, Underscore, Backbone, Twitter Bootstrap, etc into small, reusable, and composable micro libraries. There are UI elements like tool tips and modals, wonderful and tiny DOM manipulation tools, well documented AJAX libraries, and more low-level functional and control-flow related tools. It's really amazing.
It's by TJ Holowaychuk too, who is huge in the node community (Express, Jade, Mocha, Stylus, Connect, and many others).
by agency on 2/17/13, 4:46 AM
by hayksaakian on 2/17/13, 5:11 AM
jQuery.
Its not sexy, but it gets the job done for pretty much everyone.
by byoung2 on 2/17/13, 3:36 AM
by davisr on 2/17/13, 4:03 AM
by chjj on 2/17/13, 6:05 AM
It's not the coolest, but I think it's the coolest selector engine. I'm also totally biased.
by danso on 2/17/13, 4:59 AM
by kodablah on 2/17/13, 4:17 AM
by dottrap on 2/17/13, 3:32 AM
http://280north.com http://www.cappuccino-project.org http://arstechnica.com/apple/2008/06/cocoa-on-the-web-280-no...
by RoboTeddy on 2/17/13, 3:58 AM
by rajrao on 2/17/13, 5:20 AM
by charliesome on 2/17/13, 4:33 AM
by TallboyOne on 2/17/13, 5:47 AM
Non direct link (to plug my own site with lots of other similar stuff) http://pineapple.io/resources/ace-high-performance-embeddabl...
direct link http://ace.ajax.org/
by jpatte on 2/17/13, 10:04 AM
Also if you like Backbone.js, don't miss Knockback.js (http://kmalakoff.github.com/knockback/). Now you have observable (view)models and collections. Definitely cool.
by jakelazaroff on 2/17/13, 6:55 AM
Just instantiate a model with an endpoint and an ID and Backbone will do all your syncing for you. You can have views listen for changes to the models and update automatically. You can add easy support for client-side navigation via push state.
Backbone takes tedious tasks and makes them fun. Highly, highly recommended.
by goatslacker on 2/17/13, 5:18 AM
https://github.com/goatslacker/lz
Why I think it's cool? Well it's really fast, and it's lazy which allows you to work with really big arrays. Plus it's a really tiny library providing you with a streamlined set of APIs for working with lists (similar to array.js/Enumerable)
If you're working with smaller lists it's probably best to go the lodash route, but if you want it to be lazy then I believe lz is the right tool for the job.
/shameless plug
by aleksandrm on 2/17/13, 6:30 AM
by jerbils on 2/17/13, 7:02 AM
It also supports exporting JavaScript keyframes to CSS3 @keyframes, as demonstrated with Stylie: http://jeremyckahn.github.com/stylie/
by benmanns on 2/17/13, 6:08 AM
by Surio on 2/17/13, 5:03 AM
Anyway, I use this site as a quick reference to see what is new in JS world. www.functionn.in The author seems to be pretty meticulous in his updates, so there's a lot of interesting libraries. Seems like a labour of love for him. (P.S: Thanks, Hirvesh)
There's also Hakim who comes up with some interesting stuff from time to time www.hakim.se
Here's another that came up on radar lately -- http://soulwire.github.com/Makisu/
Subscribe to the smashing letter magazine's newsletters for a periodic stream of latest "cool" into your Inbox.
Hope that helps.
by chunkyslink on 2/17/13, 4:46 AM
From the site
"Sugar is a Javascript library that extends native objects with helpful methods. It is designed to be intuitive, unobtrusive, and let you do more with less code."
by kingkool68 on 2/17/13, 4:58 AM
Speaking of data tables, I wrote a little function to make table headers sticky so they stay at the top of the viewport as you scroll down a large table. https://github.com/kingkool68/stickyHeader No options, just include on the page, add a class of stickyHeader on the table and you're done.
by jgalt212 on 2/18/13, 12:15 AM
An obvious use could be as a library building tool. i.e. All the macros could be restricted to the internal methods used to construct the library DSL. All the public methods could look like standard js, and the library users would be none the wiser to the magic used internally to make the library construction more efficient.
by jesusabdullah on 2/17/13, 9:45 AM
by olegp on 2/17/13, 9:18 AM
For example https://starthq.com is using about 35MB of RAM and is easy to debug despite some pretty complex business logic around generating site thumbnails.
by xiaoma on 2/17/13, 8:33 AM
by cheeaun on 2/17/13, 6:03 AM
by maxtardiveau on 2/17/13, 4:56 AM
by logn on 2/17/13, 4:54 PM
by gbog on 2/17/13, 6:43 AM
by The1TrueGuy on 2/17/13, 6:51 AM
by slater on 2/17/13, 3:32 AM
by Devlin_Donnelly on 2/18/13, 1:19 AM
by readme on 2/17/13, 5:32 AM
by imtu80 on 2/17/13, 4:33 AM
by sasanrose on 2/17/13, 7:28 AM
A 5.5kb javascript date library for parsing, validating, manipulating, and formatting dates
by franze on 2/17/13, 9:40 AM
by tjmarshall on 2/17/13, 6:09 AM
I bet a bunch of you actually searched for that on google. What's sad is that is probably the name of some obscure testing library. What have we come to...?
by dotborg on 2/17/13, 8:19 AM
by trungonnews on 2/17/13, 9:01 AM
by dccoolgai on 2/17/13, 4:48 AM