{"_id":"sugar","_rev":"305193","name":"sugar","description":"A Javascript utility library for working with native objects.","dist-tags":{"latest":"2.0.6"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"time":{"modified":"2021-06-03T19:29:25.000Z","created":"2011-08-15T13:06:01.558Z","2.0.6":"2018-12-05T14:21:21.177Z","2.0.5":"2018-12-05T12:51:33.261Z","2.0.4":"2016-11-23T16:39:14.372Z","2.0.3":"2016-11-23T15:58:22.450Z","2.0.2":"2016-11-05T05:24:44.869Z","2.0.1":"2016-08-09T13:37:19.457Z","2.0.0":"2016-07-25T20:54:31.583Z","1.5.0":"2016-07-25T16:22:14.531Z","1.4.1":"2013-09-17T14:24:38.484Z","1.4.0":"2013-08-24T20:02:24.619Z","1.3.9":"2013-07-29T12:54:14.215Z","1.3.8":"2013-01-11T16:14:33.522Z","1.3.7":"2012-11-29T17:00:19.958Z","1.3.6":"2012-11-02T16:10:33.904Z","1.3.5":"2012-09-30T14:19:23.699Z","1.3.4":"2012-09-13T15:41:30.785Z","1.3.3":"2012-09-12T16:27:31.087Z","1.3.2":"2012-09-12T14:14:11.134Z","1.3.1":"2012-09-07T19:21:25.759Z","1.3.0":"2012-07-26T15:56:56.832Z","1.2.5":"2012-05-02T14:01:10.829Z","1.2.4":"2012-03-26T17:00:50.836Z","1.2.3":"2012-03-07T15:48:52.160Z","1.2.2":"2012-02-07T16:30:06.921Z","1.2.1":"2012-01-29T16:13:52.110Z","1.2.0":"2012-01-19T15:01:03.688Z","1.1.3":"2011-12-14T17:38:30.249Z","1.1.2":"2011-12-11T16:45:03.920Z","1.1.1":"2011-11-15T14:25:33.084Z","1.1.0":"2011-11-05T18:48:05.578Z","1.0.0":"2011-10-21T16:47:39.845Z","0.9.5":"2011-09-05T13:43:04.810Z","0.9.4":"2011-08-15T13:06:01.558Z"},"users":{"fgribreau":true,"pid":true,"parmentf":true,"dbrockman":true,"vegera":true,"satans17":true,"noyobo":true,"dylanpiercey":true,"yhnavein":true,"brentonhouse":true,"tektimmy":true,"barenko":true,"dar5hak":true,"kontrax":true,"slurm":true,"loselovegirl":true,"x0000ff":true,"holly":true,"tmurngon":true,"nickeltobias":true,"praxiq":true,"lassevolkmann":true},"author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"versions":{"2.0.6":{"name":"sugar","description":"A Javascript utility library for working with native objects.","version":"2.0.6","homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"license":"MIT","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"keywords":["sugar","sugarjs","functional","browser","utility","util","date","time","polyfill"],"bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"typings":"sugar.d.ts","main":"index.js","dependencies":{"sugar-core":"^2.0.0"},"_id":"sugar@2.0.6","_npmVersion":"6.4.1","_nodeVersion":"10.8.0","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"aa08e389add27109fb35718598313e0503a4fc39","size":550183,"noattachment":false,"key":"/sugar/-/sugar-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-2.0.6.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sugar_2.0.6_1544019680955_0.6037568204250032"},"_hasShrinkwrap":false,"publish_time":1544019681177,"_cnpm_publish_time":1544019681177},"2.0.5":{"name":"sugar","description":"A Javascript utility library for working with native objects.","version":"2.0.5","homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"license":"MIT","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"keywords":["sugar","sugarjs","functional","browser","utility","util","date","time","polyfill"],"bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"typings":"sugar.d.ts","dependencies":{"sugar-core":"^2.0.0"},"main":"index.js","_id":"sugar@2.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.8.0","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"01b4eb54097b47c12e22f28afdc581485c87b43d","size":550177,"noattachment":false,"key":"/sugar/-/sugar-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-2.0.5.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sugar_2.0.5_1544014292458_0.7301232711036774"},"_hasShrinkwrap":false,"publish_time":1544014293261,"_cnpm_publish_time":1544014293261},"2.0.4":{"name":"sugar","description":"A Javascript utility library for working with native objects.","version":"2.0.4","homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"license":"MIT","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"keywords":["sugar","sugarjs","functional","browser","utility","util","date","time","polyfill"],"bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"typings":"sugar.d.ts","main":"index.js","dependencies":{"sugar-core":"^2.0.0"},"gitHead":"023fc66e77c7a08cb9ac73c01f51f44d6eee296e","_id":"sugar@2.0.4","scripts":{},"_shasum":"79a6fa4dabc587fb855a52ee7176dd042bf757b0","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"79a6fa4dabc587fb855a52ee7176dd042bf757b0","size":547739,"noattachment":false,"key":"/sugar/-/sugar-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-2.0.4.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sugar-2.0.4.tgz_1479919152281_0.7113703608047217"},"directories":{},"publish_time":1479919154372,"_cnpm_publish_time":1479919154372,"_hasShrinkwrap":false},"2.0.3":{"name":"sugar","description":"A Javascript utility library for working with native objects.","version":"2.0.3","homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"license":"MIT","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"keywords":["sugar","sugarjs","functional","browser","utility","util","date","time","polyfill"],"bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"typings":"sugar.d.ts","main":"index.js","dependencies":{"sugar-core":"^2.0.0"},"gitHead":"e4932840a2b4ec7b903350209d4c2022355fe5aa","_id":"sugar@2.0.3","scripts":{},"_shasum":"4e370d25bb739e9b6b0b7dd22c2003983be8ea7c","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.0","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"4e370d25bb739e9b6b0b7dd22c2003983be8ea7c","size":537478,"noattachment":false,"key":"/sugar/-/sugar-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-2.0.3.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sugar-2.0.3.tgz_1479916700218_0.9023025054484606"},"directories":{},"publish_time":1479916702450,"_cnpm_publish_time":1479916702450,"_hasShrinkwrap":false},"2.0.2":{"name":"sugar","description":"A Javascript utility library for working with native objects.","version":"2.0.2","homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"license":"MIT","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"keywords":["sugar","sugarjs","functional","browser","utility","util","date","time","polyfill"],"bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"typings":"sugar.d.ts","main":"index.js","dependencies":{"sugar-core":"^2.0.0"},"gitHead":"188068e431f2b93cc1df89c4519525fab4303461","_id":"sugar@2.0.2","scripts":{},"_shasum":"f81c5caf803d8f1bde627310e381ac2b52ae084e","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"f81c5caf803d8f1bde627310e381ac2b52ae084e","size":547502,"noattachment":false,"key":"/sugar/-/sugar-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-2.0.2.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sugar-2.0.2.tgz_1478323484631_0.49889177014119923"},"directories":{},"publish_time":1478323484869,"_cnpm_publish_time":1478323484869,"_hasShrinkwrap":false},"2.0.1":{"name":"sugar","description":"A Javascript utility library for working with native objects.","version":"2.0.1","homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"license":"MIT","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"keywords":["sugar","sugarjs","functional","browser","utility","util","date","time","polyfill"],"bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"main":"index.js","dependencies":{"sugar-core":"^2.0.0"},"_id":"sugar@2.0.1","scripts":{},"_shasum":"cd19c51159a104bc1c9292401e16b7a123b88118","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"cd19c51159a104bc1c9292401e16b7a123b88118","size":530464,"noattachment":false,"key":"/sugar/-/sugar-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-2.0.1.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/sugar-2.0.1.tgz_1470749835631_0.3095493435394019"},"directories":{},"publish_time":1470749839457,"_cnpm_publish_time":1470749839457,"_hasShrinkwrap":false},"2.0.0":{"name":"sugar","description":"A Javascript utility library for working with native objects.","keywords":["sugar","sugarjs","functional","browser","utility","util","date","time"],"homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"version":"2.0.0","dependencies":{"sugar-core":"^2.0.0"},"_id":"sugar@2.0.0","scripts":{},"_shasum":"a6da32a6f45cdaae079d1db412227ae413816c1f","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"a6da32a6f45cdaae079d1db412227ae413816c1f","size":529489,"noattachment":false,"key":"/sugar/-/sugar-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-2.0.0.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sugar-2.0.0.tgz_1469480071345_0.21772081567905843"},"directories":{},"publish_time":1469480071583,"_cnpm_publish_time":1469480071583,"_hasShrinkwrap":false},"1.5.0":{"name":"sugar","version":"1.5.0","description":"A JavaScript utility library for working with native objects.","keywords":["sugar","sugarjs","functional","browser","utility","util","date","time"],"homepage":"https://sugarjs.com/","icon":"https://sugarjs.com/icon.svg","author":{"name":"Andrew Plummer","email":"plummer.andrew@gmail.com"},"license":"MIT","main":"sugar-full.js","bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"files":["CHANGELOG.md","CAUTION.md","sugar.js","sugar-full.js","sugar.min.js"],"repository":{"type":"git","url":"git+https://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.8.23"},"browser":{"buffer":false},"scripts":{"test":"node test/node"},"devDependencies":{"closure-compiler-stream":"^0.1.15","glob":"^5.0.14","google-closure-compiler":"^20160517.1.0","gulp":"^3.9.0","gulp-file":"^0.3.0","gulp-util":"^3.0.6","merge-stream":"^0.1.8","mkdirp":"^0.5.1","rimraf":"^2.4.4","sinon":"^1.15.4","through2":"^2.0.0","yargs":"^3.15.0"},"gitHead":"845d93b5ce93ae43930a2d8cf81225e852efd102","_id":"sugar@1.5.0","_shasum":"d9d3fba10f7a887e06e6adfb078a27acb1fc0556","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"dist":{"shasum":"d9d3fba10f7a887e06e6adfb078a27acb1fc0556","size":193033,"noattachment":false,"key":"/sugar/-/sugar-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.5.0.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sugar-1.5.0.tgz_1469463734295_0.9368667036760598"},"directories":{},"publish_time":1469463734531,"_cnpm_publish_time":1469463734531,"_hasShrinkwrap":false},"1.4.1":{"name":"sugar","version":"1.4.1","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/sugar-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"https://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"node test/environments/node/test.js"},"license":"MIT","readmeFilename":"README.md","bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"_id":"sugar@1.4.1","dist":{"shasum":"1310d4dedc699e5a173183718541b0d7844a7598","size":344878,"noattachment":false,"key":"/sugar/-/sugar-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.4.1.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1379427878484,"_cnpm_publish_time":1379427878484,"_hasShrinkwrap":false},"1.4.0":{"name":"sugar","version":"1.4.0","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/sugar-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"https://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"node test/environments/node/test.js"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"_id":"sugar@1.4.0","dist":{"shasum":"e0c35189ec7bc8471296edc0618f17c44ef9b96a","size":342973,"noattachment":false,"key":"/sugar/-/sugar-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.4.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1377374544619,"_cnpm_publish_time":1377374544619,"_hasShrinkwrap":false},"1.3.9":{"name":"sugar","version":"1.3.9","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/sugar-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"https://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"_id":"sugar@1.3.9","dist":{"shasum":"f879c6c87721252b51fd0b6520412d98d83cb179","size":311200,"noattachment":false,"key":"/sugar/-/sugar-1.3.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.9.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1375102454215,"_cnpm_publish_time":1375102454215,"_hasShrinkwrap":false},"1.3.8":{"name":"sugar","version":"1.3.8","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/sugar-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"https://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"readmeFilename":"README.md","_id":"sugar@1.3.8","dist":{"shasum":"3495db4ed50202107e9410a1ff9901c33819b80b","size":308249,"noattachment":false,"key":"/sugar/-/sugar-1.3.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.8.tgz"},"_npmVersion":"1.2.0","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1357920873522,"_cnpm_publish_time":1357920873522,"_hasShrinkwrap":false},"1.3.7":{"name":"sugar","version":"1.3.7","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3.7/sugar-1.3.7-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"https://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_id":"sugar@1.3.7","dist":{"shasum":"d14f58917139d69b8efe6083b3df9097137f970a","size":3943792,"noattachment":false,"key":"/sugar/-/sugar-1.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.7.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1354208419958,"_cnpm_publish_time":1354208419958,"_hasShrinkwrap":false},"1.3.6":{"name":"sugar","version":"1.3.6","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3.6/sugar-1.3.6-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"https://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_id":"sugar@1.3.6","dist":{"shasum":"55bbe3e38e05f47369da2d6ce038d1406a12e2f2","size":3721521,"noattachment":false,"key":"/sugar/-/sugar-1.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.6.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1351872633904,"_cnpm_publish_time":1351872633904,"_hasShrinkwrap":false},"1.3.5":{"name":"sugar","version":"1.3.5","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3.5/sugar-1.3.5-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.3.5","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"3d00365ba622554b2e5213ff5f6d2632d7606da9","size":3487752,"noattachment":false,"key":"/sugar/-/sugar-1.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.5.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1349014763699,"_cnpm_publish_time":1349014763699,"_hasShrinkwrap":false},"1.3.4":{"name":"sugar","version":"1.3.4","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3.4/sugar-1.3.4-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.3.4","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"efe25a98d0257119b270133dbce1aa76739eacbd","size":3267243,"noattachment":false,"key":"/sugar/-/sugar-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.4.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1347550890785,"_cnpm_publish_time":1347550890785,"_hasShrinkwrap":false},"1.3.3":{"name":"sugar","version":"1.3.3","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3.3/sugar-1.3.3-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.3.3","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"27f34320c94ce12ff778a70e37992ef7c04694e5","size":3064045,"noattachment":false,"key":"/sugar/-/sugar-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.3.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1347467251087,"_cnpm_publish_time":1347467251087,"_hasShrinkwrap":false},"1.3.2":{"name":"sugar","version":"1.3.2","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3.2/sugar-1.3.2-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.3.2","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"73d82e8a6638f24515e3ce343ffa25ec64fadeb6","size":2861932,"noattachment":false,"key":"/sugar/-/sugar-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.2.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1347459251134,"_cnpm_publish_time":1347459251134,"_hasShrinkwrap":false},"1.3.1":{"name":"sugar","version":"1.3.1","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3.1/sugar-1.3.1-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.3.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"8ca093241376f3161f6ee236aca2cf6d09648780","size":2660093,"noattachment":false,"key":"/sugar/-/sugar-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.1.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1347045685759,"_cnpm_publish_time":1347045685759,"_hasShrinkwrap":false},"1.3.0":{"name":"sugar","version":"1.3.0","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./release/1.3/sugar-1.3-full.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.3.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.16","_defaultsLoaded":true,"dist":{"shasum":"105a6c1e4bf48fb8bc92454c086ffaa1dcbff59d","size":2251024,"noattachment":false,"key":"/sugar/-/sugar-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.3.0.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1343318216832,"_cnpm_publish_time":1343318216832,"_hasShrinkwrap":false},"1.2.5":{"name":"sugar","version":"1.2.5","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/main","ender":"./release/1.2.5/development/sugar-1.2.5.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"scripts":{"test":"./unit_tests/node.sh"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.2.5","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"4ed2639aeb8c16381e0f598c49e1532eb71fd83c","size":1975493,"noattachment":false,"key":"/sugar/-/sugar-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.2.5.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1335967270829,"_cnpm_publish_time":1335967270829,"_hasShrinkwrap":false},"1.2.4":{"name":"sugar","version":"1.2.4","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/main","ender":"./release/1.2.4/development/sugar-1.2.4.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.2.4","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"c9812a0688b098356982706323867aef36381837","size":1793083,"noattachment":false,"key":"/sugar/-/sugar-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.2.4.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1332781250836,"_cnpm_publish_time":1332781250836,"_hasShrinkwrap":false},"1.2.3":{"name":"sugar","version":"1.2.3","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/main","ender":"./release/1.2.3/development/sugar-1.2.3.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.2.3","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"0640c797a8c04a0954fd85f15d88d860f336e401","size":1607780,"noattachment":false,"key":"/sugar/-/sugar-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.2.3.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1331135332160,"_cnpm_publish_time":1331135332160,"_hasShrinkwrap":false},"1.2.2":{"name":"sugar","version":"1.2.2","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/main","ender":"./release/1.2.2/development/sugar-1.2.2.development.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.2.2","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"ee795f6d9076cfeb4caabe06e3e62c7a9dc05b7f","size":1425491,"noattachment":false,"key":"/sugar/-/sugar-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.2.2.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1328632206921,"_cnpm_publish_time":1328632206921,"_hasShrinkwrap":false},"1.2.1":{"name":"sugar","version":"1.2.1","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/main","ender":"./release/1.2.1/minified/sugar-1.2.1.min.js","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.2.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"abd4030e7776ade083f708ea188b99daaba02735","size":1177944,"noattachment":false,"key":"/sugar/-/sugar-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.2.1.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1327853632110,"_cnpm_publish_time":1327853632110,"_hasShrinkwrap":false},"1.2.0":{"name":"sugar","version":"1.2.0","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/main","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.2.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0","_nodeVersion":"v0.6.6","_defaultsLoaded":true,"dist":{"shasum":"899e0a8d7f92ee70581341d5242c9e1e00586486","size":255059,"noattachment":false,"key":"/sugar/-/sugar-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.2.0.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1326985263688,"_cnpm_publish_time":1326985263688,"_hasShrinkwrap":false},"1.1.3":{"name":"sugar","version":"1.1.3","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/sugar","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.1.3","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"acf249c2cb9145280ee9fbbab882b37d85668790","size":215040,"noattachment":false,"key":"/sugar/-/sugar-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.1.3.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1323884310249,"_cnpm_publish_time":1323884310249,"_hasShrinkwrap":false},"1.1.2":{"name":"sugar","version":"1.1.2","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/sugar","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.1.2","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"1fde0ac7ad2fd1372090c09a6404a111e9f33085","size":215040,"noattachment":false,"key":"/sugar/-/sugar-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.1.2.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1323621903920,"_cnpm_publish_time":1323621903920,"_hasShrinkwrap":false},"1.1.1":{"name":"sugar","version":"1.1.1","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/sugar","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.1.1","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"bb55ae1d40460a58bcc52fec64cecee9b2cc17e4","size":184320,"noattachment":false,"key":"/sugar/-/sugar-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.1.1.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1321367133084,"_cnpm_publish_time":1321367133084,"_hasShrinkwrap":false},"1.1.0":{"name":"sugar","version":"1.1.0","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/sugar","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmUser":{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"},"_id":"sugar@1.1.0","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.103","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"6e2e21cdec62be860901a667aa0b7301c8b073f9","size":184320,"noattachment":false,"key":"/sugar/-/sugar-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.1.0.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1320518885578,"_cnpm_publish_time":1320518885578,"_hasShrinkwrap":false},"1.0.0":{"name":"sugar","version":"1.0.0","description":"A Javascript library for working with native objects.","keywords":["functional","utility","ender"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/sugar","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmJsonOpts":{"file":"/Volumes/Andrew/.npm/sugar/1.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"sugar@1.0.0","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.30","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"b2629f7365a764c1bb9ed5929169dfcaf7690984","size":165400,"noattachment":false,"key":"/sugar/-/sugar-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-1.0.0.tgz"},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1319215659845,"_cnpm_publish_time":1319215659845,"_hasShrinkwrap":false},"0.9.5":{"name":"sugar","version":"0.9.5","description":"A Javascript library for working with native objects.","keywords":["functional","utility"],"homepage":"http://sugarjs.com/","author":{"name":"Andrew Plummer"},"main":"./lib/sugar","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmJsonOpts":{"file":"/Volumes/Andrew/.npm/sugar/0.9.5/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"sugar@0.9.5","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.23","_nodeVersion":"v0.5.4-pre","_defaultsLoaded":true,"dist":{"shasum":"ef07ff53ac4ff5063cd74374cc5bf6e6d9d97e48","size":140993,"noattachment":false,"key":"/sugar/-/sugar-0.9.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-0.9.5.tgz"},"scripts":{},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1315230184810,"_cnpm_publish_time":1315230184810,"_hasShrinkwrap":false},"0.9.4":{"name":"sugar","version":"0.9.4","description":"A Javascript library for working with native objects.","keywords":["functional","utility"],"homepage":"http://sugarjs.com","author":{"name":"Andrew Plummer"},"main":"./lib/sugar","directories":{"lib":"./lib"},"repository":{"type":"git","url":"git://github.com/andrewplummer/Sugar.git"},"engines":{"node":">= 0.4.0"},"_npmJsonOpts":{"file":"/Volumes/Andrew/.npm/sugar/0.9.4/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"sugar@0.9.4","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.23","_nodeVersion":"v0.5.4-pre","_defaultsLoaded":true,"dist":{"shasum":"f536452c952c4b13b6ea2576c26d2868ca83d218","size":108064,"noattachment":false,"key":"/sugar/-/sugar-0.9.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sugar/download/sugar-0.9.4.tgz"},"scripts":{},"maintainers":[{"name":"l_andrew_l","email":"plummer.andrew@gmail.com"}],"publish_time":1313413561558,"_cnpm_publish_time":1313413561558,"_hasShrinkwrap":false}},"readme":"# Sugar\n\n[![Build Status](https://travis-ci.org/andrewplummer/Sugar.svg)](http://travis-ci.org/andrewplummer/Sugar)\n[![Coverage Status](https://coveralls.io/repos/andrewplummer/Sugar/badge.svg?branch=master)](https://coveralls.io/r/andrewplummer/Sugar?branch=master)\n\nA Javascript library for working with native objects.\n\n---------------------------------------\n\n- [**Install**](#install)\n- [**Upgrading**](#upgrading)\n- [**Getting Started**](#getting-started)\n- [**Documentation**](#documentation)\n- [**Custom Builds**](#custom-builds)\n- [**Browser**](#browser)\n- [**npm**](#npm)\n- [**Modules**](#modules)\n- [**Date Locales**](#date-locales)\n- [**Timezones**](#timezones)\n- [**Defining Methods**](#defining-methods)\n- [**Plugins**](#plugins)\n- [**Contributing**](#contributing)\n- [**Road Map**](#road-map)\n\n---------------------------------------\n\n\n# v2.0.4\n\n### [sugar.js](https://raw.githubusercontent.com/andrewplummer/Sugar/2.0.4/dist/sugar.js) | [sugar.min.js (24kb gz)](https://raw.githubusercontent.com/andrewplummer/Sugar/2.0.4/dist/sugar.min.js)\n\n\n## Install\n\n#### `npm install sugar`\n#### `bower install sugar`\n\n\n## Upgrading\n\nIf you are upgrading from v1, there is now an upgrade [helper script](https://sugarjs.com/upgrading)\navailable that makes upgrading easier by warning you about breaking changes as\nyour code is run. The [CAUTIONLOG](CAUTION.md) is also available, which is a\nvetted changelog showing breaking changes in order of severity.\n\n\n## Getting Started\n\n#### [https://sugarjs.com/quickstart/](https://sugarjs.com/quickstart/)\n\n\n## Documentation\n\n#### [https://sugarjs.com/docs/](https://sugarjs.com/docs/)\n\n\n## Custom Builds\n\n#### [https://sugarjs.com/download/](https://sugarjs.com/download/)\n\nCustom browser builds can be created on the site download page. In addition,\ntools like Browserify can also be used to create custom builds, as npm packages\nare now fully modular. The main repo also has tasks to create custom builds as\nwell. Simply clone, run `npm install` then `gulp`.\n\n\n## Browser\n\nThe `dist` directory holds builds that are ready to be loaded in the browser.\nThese builds include the `core` module, and so have no dependencies. Bower\npackages at the moment include only this directory. Use the `es5` builds if you\nrequire support for environments that do not support ES5 natively (IE8 and below).\n\n\n## npm\n\nThe `sugar` npm package allows methods as well as entire modules to be required\nindividually. If you are using a build tool like Browserify, this will make it\nsimple to create smaller custom builds without going through the download page.\nAll packages also include pre-built distributions in the `dist/` directory.\n\nIn addition to the main `sugar` package, there are also packages separated by\nSugar module, i.e. `sugar-date`, `sugar-array`, etc.\n\nWhen an entry point is required (the package name or an entire module), it will\nreturn a reference to `Sugar`, which is equivalent to the global object in the\nbrowser. All methods will be defined on this object and can be called as normal.\nRequiring an individual method will define it on `Sugar` and additionally return\na reference to its static form that can be called immediately:\n\n```javascript\n// Require all modules\nvar Sugar = require('sugar');\nSugar.Number.round(3.1415);\n\n// Require the Number module\nvar Sugar = require('sugar/number');\nSugar.Number.round(3.1415);\n\n// Require only the \"round\" method\nvar round = require('sugar/number/round');\nround(3.1415);\n```\n\nAs the npm package is designed with node in mind, polyfills must be explicitly\nrequired (the `sugar` entry point will not include them), and will immediately\napply themselves if the methods they polyfill are missing.\n\n```javascript\n// Require and apply ES6 polyfills\nrequire('sugar/polyfills/es6');\n```\n\nSimilarly, date locales must be explicitly required as well:\n```javascript\n// Require the Japanese date locale\nrequire('sugar/locales/ja');\n// Require all date locales\nrequire('sugar/locales');\n```\n\n\nAll Sugar npm packages are dependent on the `sugar-core` package.\n\n## Modules\n\nAlthough Sugar builds can now be customized at method level, modules are still\nused as an intuitive way of grouping similar methods. Sugar npm packages make\nuse of modules, both in the main `sugar` package as well as individual module\npackages beginning with `sugar-`. The following modules are available:\n\n#### Default:\n\n- [ES6](lib/es6.js) (Polyfills)\n- [ES7](lib/es7.js) (Polyfills)\n- [Array](lib/array.js)\n- [Date](lib/date.js)\n- [Enumerable](lib/enumerable.js) (shared methods on Array and Object)\n- [Function](lib/function.js)\n- [Number](lib/number.js)\n- [Object](lib/object.js)\n- [Range](lib/range.js) (String, Number, and Date ranges)\n- [RegExp](lib/regexp.js)\n- [String](lib/string.js)\n\n#### Non-default:\n\n- [ES5](lib/es5.js) (Polyfills, adds IE6-8 Support)\n- [Language](lib/language.js) (Character conversion and script detection)\n- [Inflections](lib/inflections.js) (Pluralization and string normalization)\n\nNon-default modules are excluded from the main Sugar build, but can be added by\ncreating a [custom build](#custom-builds). The main npm package includes the ES5\nmodule, polyfills are disabled by default and must be explicitly required.\nOther non-default modules can be found individually (i.e. `sugar-language`, etc).\n\n## Date Locales\n\nLocale definition files are in the [locales](lib/locales/) directory. They can be\nsimply included as-is after Sugar is loaded, or built together using\n[custom builds](#custom-builds). English is included by default and required by\nthe Date module. Currently available locales are:\n\n- [Catalan (ca)](lib/locales/ca.js)\n- [Danish (da)](lib/locales/da.js)\n- [Dutch (nl)](lib/locales/nl.js)\n- [Finnish (fi)](lib/locales/fi.js)\n- [French (fr)](lib/locales/fr.js)\n- [German (de)](lib/locales/de.js)\n- [Italian (it)](lib/locales/it.js)\n- [Japanese (ja)](lib/locales/ja.js)\n- [Korean (ko)](lib/locales/ko.js)\n- [Norwegian (no)](lib/locales/no.js)\n- [Polish (pl)](lib/locales/pl.js)\n- [Portuguese (pt)](lib/locales/pt.js)\n- [Russian (ru)](lib/locales/ru.js)\n- [Spanish (es)](lib/locales/es.js)\n- [Swedish (sv)](lib/locales/sv.js)\n- [Simplified Chinese (zh-CN)](lib/locales/zh-CN.js)\n- [Traditional Chinese (zh-TW)](lib/locales/zh-TW.js)\n\n#### Adding/Customizing Locales\n\nIf a locale or format is missing, it can easily be added by modifying or adding\nthe definition. See [here](https://sugarjs.com/docs/#/DateLocales) for more on\nthis. Please consider contributing any changes made back to the community!\n\n\n## Timezones\n\nSugar does not deal with timezone abbreviations (i.e. \"PST\", etc). Timezone\noffsets will be correctly parsed if they are in ISO-8601 format (+09:00, +0900,\nor Z for UTC), however if an abbreviation exists it will be ignored. Sugar\nhowever plays nicely with other libraries that offer full timezone support such\nas [timezone.js](https://github.com/mde/timezone-js).\n\n`Date.create` allows two options for dealing with UTC dates. `fromUTC` will\nparse the string as UTC, but return a normal date. In contrast, `setUTC` tells\nSugar to use methods like `getUTCHours` when handling the date, and is usually\nused when the date needs to be formatted as UTC. Native methods like `getHours`\nstill return local values.\n\n## Defining Methods\n\nSugar now makes it easy to define your own methods. This is aimed at developers\nhoping to release their own plugins with Sugar. After defining methods, they can\nbe extended or used as chainables just like other methods:\n\n```javascript\nSugar.Number.defineStatic('randomish', function () {\n  if (Math.random() > .5) {\n    return Math.random();\n  } else {\n    return 1;\n  }\n});\n\nSugar.Number.defineInstance({\n  'square': function (n) {\n    return n * n;\n  },\n  'cube': function (n) {\n    return n * n * n;\n  }\n});\n\nSugar.Number.square(3);         // 9\nnew Sugar.Number(5).cube().raw; // 125\nSugar.Number.randomish()        // ???\n\nSugar.extend();\n(2).square();       // 4\n(4).cube();         // 64\nNumber.randomish(); // ???\n\n```\n\nSee the [docs](https://sugarjs.com/docs/#/Sugar) for options and other helpers.\n\n## Plugins\n\nIf you are defining methods that are useful to the general public, please consider\nreleasing them as a Sugar plugin! Refer to the\n[plugin boilerplate](https://github.com/andrewplummer/sugar-plugin-boilerplate)\nrepo for an example to get started.\n\n## Contributing\n\nIf you would like to issue a pull request, please first consider adding well\nformed [unit tests](test/tests/). These tests can be run directly in the browser\nfrom the [test/browser/](test/browser/) directory or in node with `npm test`.\n\n## Road Map\n\nProposals for core features or major method changes will be added to the\n[road map](https://github.com/andrewplummer/Sugar/wiki/Road-Map). New methods\nmay or may not be accepted, depending on their utility. Generally, they will\nfirst be delegated to plugins that may eventually be added to the main library\nwhen they reach a certain stage of popularity.\n","_attachments":{},"homepage":"https://sugarjs.com/","bugs":{"url":"https://github.com/andrewplummer/Sugar/issues"},"license":"MIT"}