Underscore.js

From Wiki @ Karl Jones dot com
Jump to: navigation, search

Underscore.js is a JavaScript library which provides utility functions for common programming tasks.

Description

The documentation refers to Underscore.js as "the tie to go along with jQuery's tux, and Backbone.js's suspenders."

Underscore.js was created by Jeremy Ashkenas, who is also known for Backbone.js and CoffeeScript.

Features

It is comparable to features provided by Prototype.js and the Ruby language, but opts for a functional programming design instead of extending object prototypes.

For example, Underscore.js's _.each function delegates to the host environment's native forEach implementation when present, or a compatible version when absent.

Backbone.js

Backbone.js requires Underscore.js.

MIT License

Underscore.js is free software under the MIT License.

See also

External links