Sugar – Useful New Methods For JavaScript
January 4, 2012 | Ajax
Sugar is a JavaScript library that aims to ease JS development by extending its native objects with new, helpful methods.
It brings lots of new featured for working with strings, numbers, dates, arrays, objects,regular expressions and functions.
As an example:
capitalizewould make the 1st letter capitalisEvenandisOddhelps finding if the given number is odd or evencountwould find how many times the given character exists in an arrayisFuturewould return if any given date is bigger than today- and so much more.
The library is very well-documented and it is a huge helper for JavaScript-heavy applications.
Related posts:
