A Javascript library for working with native objects. http://sugarjs.com/
node.js and npm
Run all the tests by running the shell script:
./unit_tests/node.sh
The Date module depends on a number of Sugar methods. It can be used on its own, but you will have to keep the following dependencies in addition to this module. The Array Module's polyfill methods can be skipped if you don't care about < IE8 or if you are using another library that provides them. Finally, you must keep "buildDate" in the initialization script at the very bottom of the file.
- extend
- extendWithNativeCondition
- wrapNative
- defineProperty
- iterateOverObject
- instance
- typeMethods
- buildTypeMethods
- ordinalize
- pad
- padstring
- NPCGMatch
- capitalize
- first
- from
- repeat
- to
- indexOf
- filter
- forEach
- map