JavaScript API Design Examples

I am developing a JavaScript API and am looking for examples. Please indicate the libraries you like, one answer for each library. If you don't mind, a comment explaining why you think this is good would be helpful.

Also, please support existing answers if you agree that some library already published is good.

Update: I am looking for APIs that do their job well (although this job may be niche), which I enjoy using, include a good learning curve, have excellent documentation / test coverage, lead to simple client code for common cases or similar. I'm not necessarily looking for an API that does some incomprehensibly amazing things like Cappuccino or JS / UIX.

+5
source share
1 answer

The most commonly used JavaScript library is jQuery ( http://jquery.com/ ). I like it because it hides a lot of browser-specific problems, it allows people who know little about the user interface (like me) to do a decent job, and the syntax that leads to its use is very clean and concise. In particular, the API for selecting items from the DOM is very clean. To get an element with id foo, it's just $ ("# foo").

+2
source

All Articles