GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing sugarjs.com — Sugar - A Javascript utility library for working with native objects. Sugar is a Javascript utility library for working with native objects.It lets you do stuff like this:
users.sum('votes');
users.average('profile.likes');
users.max('profile.likes');
Date.create('last week Friday');
may.relative();
longText.truncate(26);
(15432).abbr(1)
SimpleA straightforward API makes Sugar very easy to pick up and start using. ModularCustom builds and modularized npm packages let you use only what you need. ExtensibleUsers can define methods or use plugins to handle specialized use cases. DatesThe date module parses, formats, and manipulates dates and supports many locales. NativesSugar blends in with native methods, and defers to their implementations when possible. PolyfillsA comprehensive polyfill suite patches browser support when it is broken or missing. Does Sugar modify natives?
As of v2.0, native extension has become opt-in while supporting two new ways of interacting with the library. Sugar still believes in the safe extension of natives, however there are times when this is not appropriate, and this choice is now put in the hands of the user.
I just want the dates!
Check out the new dates guide to jump start working with dates in Sugar.
Learn More: |
| You are visitor 01402605 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |