{"_id":"natural-compare-lite","_rev":"673711","name":"natural-compare-lite","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","dist-tags":{"latest":"1.4.0"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"time":{"modified":"2021-08-27T15:31:19.000Z","created":"2013-04-01T12:28:09.246Z","1.4.0":"2015-10-26T11:53:58.858Z","1.3.1":"2015-03-02T21:11:22.160Z","1.3.0":"2014-11-29T21:41:40.684Z","1.2.2":"2014-10-02T20:45:18.390Z","1.2.0":"2014-10-02T18:32:18.965Z","1.1.0":"2014-09-30T22:39:57.201Z","1.0.0":"2014-05-15T05:54:47.165Z","0.4.7":"2014-05-03T22:09:58.337Z","0.4.6":"2014-01-27T10:24:51.179Z","0.4.5":"2014-01-21T21:08:55.173Z","0.4.4":"2013-11-28T14:03:20.207Z","0.4.3":"2013-10-09T10:50:07.660Z","0.4.2":"2013-10-08T09:55:56.764Z","0.4.1":"2013-10-08T09:01:20.345Z","0.4.0":"2013-08-16T16:12:06.714Z","0.3.3":"2013-08-15T09:33:22.354Z","0.3.2":"2013-07-22T12:35:40.722Z","0.3.1":"2013-07-20T22:12:55.251Z","0.3.0":"2013-07-11T21:01:50.536Z","0.2.0":"2013-06-14T11:04:55.208Z","0.1.0":"2013-04-03T21:49:09.302Z","0.0.1":"2013-04-01T12:28:09.246Z"},"users":{"jsrraman":true,"sky3r":true},"author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"versions":{"1.4.0":{"name":"natural-compare-lite","version":"1.4.0","stability":3,"author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"index.js","files":["index.js"],"scripts":{"build":"node node_modules/buildman/index.js --all","test":"node tests/index.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"dist/index-min.js":{"banner":"/*! litejs.com/MIT-LICENSE.txt */","input":"index.js"}},"gitHead":"eec83eee67cfac84d6db30cdd65363f155673770","homepage":"https://github.com/litejs/natural-compare-lite#readme","_id":"natural-compare-lite@1.4.0","_shasum":"17b09581988979fddafe0201e931ba933c96cbb4","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"17b09581988979fddafe0201e931ba933c96cbb4","size":2504,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-1.4.0.tgz"},"directories":{},"publish_time":1445860438858,"_cnpm_publish_time":1445860438858,"_hasShrinkwrap":false},"1.3.1":{"name":"natural-compare-lite","version":"1.3.1","stability":3,"author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"index.js","files":["index.js"],"scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"dist/index-min.js":{"banner":"/*! litejs.com/MIT-LICENSE.txt */","input":"index.js"}},"gitHead":"415792efdc51f3debc1ddeffa6834cd0b4e58e78","homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@1.3.1","_shasum":"556c59a52b50f651b70b1913c9a4c7e51a92e189","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.12.0","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"556c59a52b50f651b70b1913c9a4c7e51a92e189","size":2541,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-1.3.1.tgz"},"directories":{},"publish_time":1425330682160,"_cnpm_publish_time":1425330682160,"_hasShrinkwrap":false},"1.3.0":{"name":"natural-compare-lite","version":"1.3.0","stability":3,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"index.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min.js":{"banner":"/*! litejs.com/MIT-LICENSE.txt */","input":["index.js"]}},"gitHead":"d47d8b2a54c87a4a0302bc6242b88967daf68a55","homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@1.3.0","_shasum":"affc96f9bd8dc543fdcfd2ba1a5a6bc5c8806557","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"affc96f9bd8dc543fdcfd2ba1a5a6bc5c8806557","size":3716,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-1.3.0.tgz"},"directories":{},"publish_time":1417297300684,"_cnpm_publish_time":1417297300684,"_hasShrinkwrap":false},"1.2.2":{"name":"natural-compare-lite","version":"1.2.2","stability":3,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"index.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min.js":{"banner":"/*! litejs.com/MIT-LICENSE.txt */","input":["index.js"]}},"testling":{"files":"tests/run.js","browsers":["ie/6..10","ff/3","ff/4","ff/5","ff/20","ff/25","chrome/4","chrome/10","chrome/20","chrome/30","chrome/31","opera/10","opera/11","opera/11.6","opera/12","opera/16","safari/4..6","android-browser/4.2","iphone/6","ipad/6"]},"gitHead":"c30099d72ebf6b283f30d29a57857338e2e9a41a","homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@1.2.2","_shasum":"3b409a3b9e5fd6efd2029ede4d0de7436d912b44","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"3b409a3b9e5fd6efd2029ede4d0de7436d912b44","size":3760,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-1.2.2.tgz"},"directories":{},"publish_time":1412282718390,"_cnpm_publish_time":1412282718390,"_hasShrinkwrap":false},"1.2.0":{"name":"natural-compare-lite","version":"1.2.0","stability":3,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"index.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min.js":{"banner":"/*! litejs.com/MIT-LICENSE.txt */","input":["index.js"]}},"testling":{"files":"tests/run.js","browsers":["ie/6..10","ff/3","ff/4","ff/5","ff/20","ff/25","chrome/4","chrome/10","chrome/20","chrome/30","chrome/31","opera/10","opera/11","opera/11.6","opera/12","opera/16","safari/4..6","android-browser/4.2","iphone/6","ipad/6"]},"gitHead":"77e8d0b4d00dbf87454b09e54384ee1595a2f9a2","homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@1.2.0","_shasum":"2ee339a9d83d634fd0d2b686846c7ca6938cdc1a","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"2ee339a9d83d634fd0d2b686846c7ca6938cdc1a","size":3689,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-1.2.0.tgz"},"directories":{},"publish_time":1412274738965,"_cnpm_publish_time":1412274738965,"_hasShrinkwrap":false},"1.1.0":{"name":"natural-compare-lite","version":"1.1.0","stability":3,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"index.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min.js":{"banner":"/*! litejs.com/MIT-LICENSE.txt */","input":["index.js"]}},"testling":{"files":"tests/run.js","browsers":["ie/6..10","ff/3","ff/4","ff/5","ff/20","ff/25","chrome/4","chrome/10","chrome/20","chrome/30","chrome/31","opera/10","opera/11","opera/11.6","opera/12","opera/16","safari/4..6","android-browser/4.2","iphone/6","ipad/6"]},"gitHead":"ce6f6464a138144fb8e489ee462a6d469b7a11be","homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@1.1.0","_shasum":"74895aef37f841c7d4d28cc6c09aaadc4dff37af","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"74895aef37f841c7d4d28cc6c09aaadc4dff37af","size":3128,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-1.1.0.tgz"},"directories":{},"publish_time":1412116797201,"_cnpm_publish_time":1412116797201,"_hasShrinkwrap":false},"1.0.0":{"name":"natural-compare-lite","version":"1.0.0","stability":3,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"index.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min.js":{"banner":"/*! litejs.com/MIT-LICENSE.txt */","input":["index.js"]}},"testling":{"files":"tests/run.js","browsers":["ie/6..10","ff/3","ff/4","ff/5","ff/20","ff/25","chrome/4","chrome/10","chrome/20","chrome/30","chrome/31","opera/10","opera/11","opera/11.6","opera/12","opera/16","safari/4..6","android-browser/4.2","iphone/6","ipad/6"]},"homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@1.0.0","_shasum":"1d2166dbd927bb69c877fb403cfb53e4163a0821","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"1d2166dbd927bb69c877fb403cfb53e4163a0821","size":2906,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-1.0.0.tgz"},"directories":{},"publish_time":1400133287165,"_cnpm_publish_time":1400133287165,"_hasShrinkwrap":false},"0.4.7":{"name":"natural-compare-lite","version":"0.4.7","stability":2,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"natural-compare.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min-natural-compare.js":"natural-compare.js"},"testling":{"files":"tests/run.js","browsers":["ie/6..10","ff/3","ff/4","ff/5","ff/20","ff/25","chrome/4","chrome/10","chrome/20","chrome/30","chrome/31","opera/10","opera/11","opera/11.6","opera/12","opera/16","safari/4..6","android-browser/4.2","iphone/6","ipad/6"]},"homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@0.4.7","_shasum":"3f5729961608c9831b97138878f561cbe3e62962","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"dist":{"shasum":"3f5729961608c9831b97138878f561cbe3e62962","size":2999,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.7.tgz"},"directories":{},"publish_time":1399154998337,"_cnpm_publish_time":1399154998337,"_hasShrinkwrap":false},"0.4.6":{"name":"natural-compare-lite","version":"0.4.6","stability":2,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"natural-compare.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min-natural-compare.js":"natural-compare.js"},"testling":{"files":"tests/run.js","browsers":{"ie":[6,7,8,9,10],"ff":[3,4,5,20,25,"nightly"],"chrome":[4,10,20,30,31,"canary"],"safari":[4,5.1,6],"opera":[10,11,"11.6",12,"next"],"android-browser":[4.2],"iphone":[6],"ipad":[6]}},"homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@0.4.6","dist":{"shasum":"da06bd9c210545e4016c99701b27065c9c5744eb","size":15285,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.6.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1390818291179,"_cnpm_publish_time":1390818291179,"_hasShrinkwrap":false},"0.4.5":{"name":"natural-compare-lite","version":"0.4.5","stability":2,"license":"MIT","author":{"name":"Lauri Rooden","url":"https://github.com/litejs/natural-compare-lite"},"description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"main":"natural-compare.js","scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min-natural-compare.js":"natural-compare.js"},"testling":{"files":"tests/run.js","browsers":{"ie":[6,7,8,9,10],"ff":[3,4,5,20,25,"nightly"],"chrome":[4,10,20,30,31,"canary"],"safari":[4,5.1,6],"opera":[10,11,"11.6",12,"next"],"android-browser":[4.2],"iphone":[6],"ipad":[6]}},"homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@0.4.5","dist":{"shasum":"35217052a9436d1dc611966ac2eb881d8a7dd740","size":15246,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.5.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1390338535173,"_cnpm_publish_time":1390338535173,"_hasShrinkwrap":false},"0.4.4":{"name":"natural-compare-lite","version":"0.4.4","license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"build":"node node_modules/buildman/index.js --all","travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"readmeFilename":"README.md","devDependencies":{"buildman":"*","testman":"*"},"buildman":{"min-natural-compare.js":"natural-compare.js"},"testling":{"files":"tests/run.js","browsers":{"ie":[6,7,8,9,10],"ff":[3,3.6,4,18,19,"nightly"],"chrome":[4,10,20,24,25,"canary"],"safari":[5.1,6],"opera":[10,11,"11.6",12,"next"],"android-browser":[4.2],"iphone":[6],"ipad":[6]}},"homepage":"https://github.com/litejs/natural-compare-lite","_id":"natural-compare-lite@0.4.4","dist":{"shasum":"5bf08e5de1ad73d8683513ea2b95a01dd469c334","size":3242,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.4.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1385647400207,"_cnpm_publish_time":1385647400207,"_hasShrinkwrap":false},"0.4.3":{"name":"natural-compare-lite","version":"0.4.3","license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"keywords":["string","natural","order","sort","natsort","natcmp","compare","alphanum","litejs"],"readmeFilename":"README.md","devDependencies":{"testman":"*"},"testling":{"files":"tests/run.js","browsers":{"ie":[6,7,8,9,10],"ff":[3,3.6,4,18,19,"nightly"],"chrome":[4,10,20,24,25,"canary"],"safari":[5.1,6],"opera":[10,11,"11.6",12,"next"],"android-browser":[4.2],"iphone":[6],"ipad":[6]}},"_id":"natural-compare-lite@0.4.3","dist":{"shasum":"105f545a65d52067e3c5b270c67c7d8fdbae9291","size":5513,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.3.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1381315807660,"_cnpm_publish_time":1381315807660,"_hasShrinkwrap":false},"0.4.2":{"name":"natural-compare-lite","version":"0.4.2","license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","devDependencies":{"testman":"*"},"testling":{"files":"tests/run.js","browsers":{"ie":[6,7,8,9,10],"ff":[3,3.6,4,18,19,"nightly"],"chrome":[4,10,20,24,25,"canary"],"safari":[5.1,6],"opera":[10,11,"11.6",12,"next"],"android-browser":[4.2],"iphone":[6],"ipad":[6]}},"_id":"natural-compare-lite@0.4.2","dist":{"shasum":"ae80d7e1fd95dfe081308b36201c4c8a25718324","size":5486,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.2.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1381226156764,"_cnpm_publish_time":1381226156764,"_hasShrinkwrap":false},"0.4.1":{"name":"natural-compare-lite","version":"0.4.1","license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","devDependencies":{"testman":"*"},"testling":{"files":"tests/run.js","browsers":{"ie":[6,7,8,9,10],"ff":[3,3.6,4,18,19,"nightly"],"chrome":[4,10,20,24,25,"canary"],"safari":[5.1,6],"opera":[10,11,"11.6",12,"next"],"android-browser":[4.2],"iphone":[6],"ipad":[6]}},"_id":"natural-compare-lite@0.4.1","dist":{"shasum":"e739d9a9f255757ee9a7fbb7aadc62327cff63ad","size":5500,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1381222880345,"_cnpm_publish_time":1381222880345,"_hasShrinkwrap":false},"0.4.0":{"name":"natural-compare-lite","version":"0.4.0","license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","devDependencies":{"testman":"*"},"testling":{"files":"tests/run.js","browsers":{"ie":[6,7,8,9,10],"ff":[3,3.6,4,18,19,"nightly"],"chrome":[4,10,20,24,25,"canary"],"safari":[5.1,6],"opera":[10,11,"11.6",12,"next"],"android-browser":[4.2],"iphone":[6],"ipad":[6]}},"_id":"natural-compare-lite@0.4.0","dist":{"shasum":"daedbcda32f8285fe3ceb4b2333bb400e0c57976","size":5300,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1376669526714,"_cnpm_publish_time":1376669526714,"_hasShrinkwrap":false},"0.3.3":{"name":"natural-compare-lite","version":"0.3.3","license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"travis-test":"istanbul cover ./tests/run.js && (coveralls < coverage/lcov.info || exit 0)","test":"node tests/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","_id":"natural-compare-lite@0.3.3","dist":{"shasum":"f5c02f96be3068791cf76d39bbcfcfe314563943","size":5195,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.3.3.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1376559202354,"_cnpm_publish_time":1376559202354,"_hasShrinkwrap":false},"0.3.2":{"name":"natural-compare-lite","version":"0.3.2","license":"MIT","description":"Compare strings containing a mix of letters and numbers in the way a human being would in sort order.","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"test":"node tests/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","contributors":[{"name":"Authors ordered by number of commits."},{"name":"* Lauri Rooden","email":"lauri@rooden.ee","url":"14"}],"_id":"natural-compare-lite@0.3.2","dist":{"shasum":"f03bb0fafb2304dcea0641fe85427cda17eab1fd","size":4632,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.3.2.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1374496540722,"_cnpm_publish_time":1374496540722,"_hasShrinkwrap":false},"0.3.1":{"name":"natural-compare-lite","version":"0.3.1","license":"MIT","description":"Sort strings in natural order","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"test":"node tests/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","_id":"natural-compare-lite@0.3.1","dist":{"shasum":"7786bbcdd48311b161f265b30f0d06cf176b9d7e","size":3019,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1374358375251,"_cnpm_publish_time":1374358375251,"_hasShrinkwrap":false},"0.3.0":{"name":"natural-compare-lite","version":"0.3.0","license":"MIT","description":"Sort strings in natural order","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"test":"node tests/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","_id":"natural-compare-lite@0.3.0","dist":{"shasum":"69f633401d98c9a4952117c39b3a672895c49213","size":2850,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.3.0.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1373576510536,"_cnpm_publish_time":1373576510536,"_hasShrinkwrap":false},"0.2.0":{"name":"natural-compare-lite","version":"0.2.0","license":"MIT","description":"Natural Order String Comparison for Sorting","main":"natural-compare.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"test":"node test/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","_id":"natural-compare-lite@0.2.0","dist":{"shasum":"aabaeebe9ffdedcc3eee5d114fd438dffa042105","size":2667,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.2.0.tgz"},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1371207895208,"_cnpm_publish_time":1371207895208,"_hasShrinkwrap":false},"0.1.0":{"name":"natural-compare-lite","version":"0.1.0","license":"MIT","description":"Natural Order String Comparison for Sorting","main":"natural-compare-lite.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"test":"node test/run.js"},"keywords":["string","natural","order","sort","compare","litejs"],"readmeFilename":"README.md","_id":"natural-compare-lite@0.1.0","dist":{"shasum":"98391eb6fa63d872c41ee25576d67674406b63dd","size":2241,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1365025749302,"_cnpm_publish_time":1365025749302,"_hasShrinkwrap":false},"0.0.1":{"name":"natural-compare-lite","version":"0.0.1","license":"MIT","description":"Natural compare","main":"natural-compare-lite.js","author":{"name":"Lauri Rooden","email":"lauri@rooden.ee"},"repository":{"type":"git","url":"git://github.com/litejs/natural-compare-lite.git"},"bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"scripts":{"test":"node test/run.js"},"keywords":["natural","sort","compare","litejs"],"readmeFilename":"README.md","_id":"natural-compare-lite@0.0.1","dist":{"shasum":"362e6013085a55a8a67fcfc51fa5ab96dd847ef8","size":2095,"noattachment":false,"key":"/natural-compare-lite/-/natural-compare-lite-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/natural-compare-lite/download/natural-compare-lite-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"lauriro","email":"lauri@rooden.ee"},"maintainers":[{"name":"lauriro","email":"lauri@rooden.ee"}],"directories":{},"publish_time":1364819289246,"_cnpm_publish_time":1364819289246,"_hasShrinkwrap":false}},"readme":"\n[Build]:    http://img.shields.io/travis/litejs/natural-compare-lite.png\n[Coverage]: http://img.shields.io/coveralls/litejs/natural-compare-lite.png\n[1]: https://travis-ci.org/litejs/natural-compare-lite\n[2]: https://coveralls.io/r/litejs/natural-compare-lite\n[npm package]: https://npmjs.org/package/natural-compare-lite\n[GitHub repo]: https://github.com/litejs/natural-compare-lite\n\n\n\n    @version    1.4.0\n    @date       2015-10-26\n    @stability  3 - Stable\n\n\nNatural Compare &ndash; [![Build][]][1] [![Coverage][]][2]\n===============\n\nCompare strings containing a mix of letters and numbers\nin the way a human being would in sort order.\nThis is described as a \"natural ordering\".\n\n```text\nStandard sorting:   Natural order sorting:\n    img1.png            img1.png\n    img10.png           img2.png\n    img12.png           img10.png\n    img2.png            img12.png\n```\n\nString.naturalCompare returns a number indicating\nwhether a reference string comes before or after or is the same\nas the given string in sort order.\nUse it with builtin sort() function.\n\n\n\n### Installation\n\n- In browser\n\n```html\n<script src=min.natural-compare.js></script>\n```\n\n- In node.js: `npm install natural-compare-lite`\n\n```javascript\nrequire(\"natural-compare-lite\")\n```\n\n### Usage\n\n```javascript\n// Simple case sensitive example\nvar a = [\"z1.doc\", \"z10.doc\", \"z17.doc\", \"z2.doc\", \"z23.doc\", \"z3.doc\"];\na.sort(String.naturalCompare);\n// [\"z1.doc\", \"z2.doc\", \"z3.doc\", \"z10.doc\", \"z17.doc\", \"z23.doc\"]\n\n// Use wrapper function for case insensitivity\na.sort(function(a, b){\n  return String.naturalCompare(a.toLowerCase(), b.toLowerCase());\n})\n\n// In most cases we want to sort an array of objects\nvar a = [ {\"street\":\"350 5th Ave\", \"room\":\"A-1021\"}\n        , {\"street\":\"350 5th Ave\", \"room\":\"A-21046-b\"} ];\n\n// sort by street, then by room\na.sort(function(a, b){\n  return String.naturalCompare(a.street, b.street) || String.naturalCompare(a.room, b.room);\n})\n\n// When text transformation is needed (eg toLowerCase()),\n// it is best for performance to keep\n// transformed key in that object.\n// There are no need to do text transformation\n// on each comparision when sorting.\nvar a = [ {\"make\":\"Audi\", \"model\":\"A6\"}\n        , {\"make\":\"Kia\",  \"model\":\"Rio\"} ];\n\n// sort by make, then by model\na.map(function(car){\n  car.sort_key = (car.make + \" \" + car.model).toLowerCase();\n})\na.sort(function(a, b){\n  return String.naturalCompare(a.sort_key, b.sort_key);\n})\n```\n\n- Works well with dates in ISO format eg \"Rev 2012-07-26.doc\".\n\n\n### Custom alphabet\n\nIt is possible to configure a custom alphabet\nto achieve a desired order.\n\n```javascript\n// Estonian alphabet\nString.alphabet = \"ABDEFGHIJKLMNOPRSŠZŽTUVÕÄÖÜXYabdefghijklmnoprsšzžtuvõäöüxy\"\n[\"t\", \"z\", \"x\", \"õ\"].sort(String.naturalCompare)\n// [\"z\", \"t\", \"õ\", \"x\"]\n\n// Russian alphabet\nString.alphabet = \"АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя\"\n[\"Ё\", \"А\", \"Б\"].sort(String.naturalCompare)\n// [\"А\", \"Б\", \"Ё\"]\n```\n\n\nExternal links\n--------------\n\n-   [GitHub repo][]\n-   [npm package][]\n-   [jsperf test](http://jsperf.com/natural-sort-2/12)\n\n\nLicence\n-------\n\nCopyright (c) 2012-2015 Lauri Rooden &lt;lauri@rooden.ee&gt;  \n[The MIT License](http://lauri.rooden.ee/mit-license.txt)\n\n\n","_attachments":{},"homepage":"https://github.com/litejs/natural-compare-lite#readme","bugs":{"url":"https://github.com/litejs/natural-compare-lite/issues"},"license":"MIT"}