Sugar – Useful New Methods For JavaScript

Advertise here with BSA


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.

Sugar JS

As an example:

  • capitalize would make the 1st letter capital
  • isEven and isOdd helps finding if the given number is odd or even
  • count would find how many times the given character exists in an array
  • isFuture would 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.

Special Downloads:
Ajaxed Add-To-Basket Scenarios With jQuery And PHP
Free Admin Template For Web Applications
jQuery Dynamic Drag’n Drop
ScheduledTweets

Advertisements:
Professional XHTML Admin Template ($15 Discount With The Code: WRD.)
Psd to Xhtml
SSLmatic – Cheap SSL Certificates (from $19.99/year)

Powered by Gewgley