Sugar – Useful New Methods For JavaScript

January 4, 2012 | Ajax

Easy AdSense by Unreal

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.

Related posts:

  1. Free JavaScript Diagramming Library – JointJS
  2. Draw & Animate Shapes With JavaScript – JSGL
  3. Handle Keyboard Events With JavaScript: jwerty
  4. jStat – A Statistical Library With JavaScript
  5. JSMentors.com – The Mailing List to Learn JavaScript

Tags: , , ,

Leave a Reply










Login

© AlojamentoOnline.com

Find WP Themes at WPCorner | Sponsored bynWicked Kalamazoo | Wicked Little Rock