Home » Underscore.js

Underscore.js

Welcome to Underscore.js tutorial, in this tutorial I have tried to cover almost all the important utility functions that underscore provides. In this series of underscore tutorial we will learn how can we easily manipulate arrays, collections and objects. Moving further we will learn how can we render HTML by using underscore template utility function.

By end of this tutorial you will be able to use underscore in your development scenarios.

Below are the topics that I will be covering in this tutorial:

 

What is underscore?

Underscore.js is a JavaScript utility library that provides number of utility methods to ease the development efforts. It is a lightweight JS library (>4Kb) which can be used with other JS libraries like backbone or with other frameworks like JQuery and more importantly, Undersocre.js has no dependency.

From Underscore.js website:

Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js, but without extending any of the built-in JavaScript objects. It’s the tie to go along with jQuery’s tux, and Backbone.js’s suspenders.

You can find more about underscore API on underscore-site.

Comments are closed.