{"_id":"urlgrey","_rev":"387535","name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"cainus","email":""}],"time":{"modified":"2021-08-04T03:36:39.000Z","created":"2013-02-27T03:23:31.435Z","1.0.0":"2021-06-10T20:30:57.315Z","0.4.4":"2016-06-30T20:22:40.155Z","0.4.3":"2016-06-24T22:01:00.406Z","0.4.2":"2016-06-24T20:06:01.063Z","0.4.1":"2016-01-04T16:46:11.002Z","0.4.0":"2014-05-25T02:52:01.302Z","0.3.3":"2014-03-06T17:29:22.502Z","0.3.2":"2013-11-30T14:33:27.027Z","0.3.1":"2013-11-30T14:21:18.042Z","0.3.0":"2013-11-30T14:05:35.951Z","0.1.1":"2013-11-18T03:14:59.901Z","0.0.9":"2013-05-04T20:15:33.863Z","0.0.8":"2013-04-20T18:47:31.018Z","0.0.7":"2013-03-30T21:02:27.953Z","0.0.6":"2013-03-29T14:23:15.192Z","0.0.5":"2013-03-11T18:48:06.661Z","0.0.4":"2013-03-10T19:02:23.070Z","0.0.3":"2013-03-06T16:12:59.740Z","0.0.2":"2013-02-27T04:32:21.870Z","0.0.1":"2013-02-27T03:23:31.435Z"},"users":{"nadimix":true,"strathausen":true},"author":{"name":"Gregg Caines"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"versions":{"1.0.0":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"1.0.0","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"fast-url-parser":"^1.1.3"},"devDependencies":{"coveralls":"^3.1.0","istanbul":"^0.4.5","mocha-lcov-reporter":"^1.3.0","uglify-js":"^3.13.9","chai":"^4.3.4","jscoverage":"^0.6.0","jshint":"^2.13.0","mocha":"^9.0.0"},"engine":{"node":">=14.0.0"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","gitHead":"e0479d2eaa562870e2267476cd67d890da6519f2","homepage":"https://github.com/cainus/urlgrey#readme","_id":"urlgrey@1.0.0","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"shasum":"72d2f904482d0b602e3c7fa599343d699bbe1017","size":77882,"noattachment":false,"key":"/urlgrey/-/urlgrey-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-1.0.0.tgz"},"_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/urlgrey_1.0.0_1623357057078_0.10702152997887082"},"_hasShrinkwrap":false,"publish_time":1623357057315,"_cnpm_publish_time":1623357057315},"0.4.4":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.4.4","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{},"devDependencies":{"tape":"2.3.0","jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","gitHead":"de157191d46e14936ff11b65cac9fbecaaeb115a","homepage":"https://github.com/cainus/urlgrey#readme","_id":"urlgrey@0.4.4","_shasum":"892fe95960805e85519f1cd4389f2cb4cbb7652f","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"jetzhou","email":"jet@classdojo.com"},"dist":{"shasum":"892fe95960805e85519f1cd4389f2cb4cbb7652f","size":77277,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.4.4.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/urlgrey-0.4.4.tgz_1467318156784_0.17407978139817715"},"publish_time":1467318160155,"_cnpm_publish_time":1467318160155,"_hasShrinkwrap":false},"0.4.3":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.4.3","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{},"devDependencies":{"tape":"2.3.0","jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","gitHead":"4dce274ee089d6098ff09d0ebef0355d686f66ab","homepage":"https://github.com/cainus/urlgrey#readme","_id":"urlgrey@0.4.3","_shasum":"d3ac393742349625ff17b6e5f64fb7dc77cd6f41","_from":".","_npmVersion":"3.3.9","_nodeVersion":"4.2.1","_npmUser":{"name":"peterkhayes","email":"peter.k.hayes@gmail.com"},"dist":{"shasum":"d3ac393742349625ff17b6e5f64fb7dc77cd6f41","size":102280,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.4.3.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/urlgrey-0.4.3.tgz_1466805656349_0.5821902579627931"},"publish_time":1466805660406,"_cnpm_publish_time":1466805660406,"_hasShrinkwrap":false},"0.4.2":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.4.2","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{},"devDependencies":{"tape":"2.3.0","jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","gitHead":"4a58e01583249da95ca46106855664106ca122ae","homepage":"https://github.com/cainus/urlgrey#readme","_id":"urlgrey@0.4.2","_shasum":"152f2fa9a038ac05c544cac1508084c835477937","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.2.4","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"dist":{"shasum":"152f2fa9a038ac05c544cac1508084c835477937","size":77063,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.4.2.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/urlgrey-0.4.2.tgz_1466798757278_0.16561985504813492"},"publish_time":1466798761063,"_cnpm_publish_time":1466798761063,"_hasShrinkwrap":false},"0.4.1":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.4.1","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{},"devDependencies":{"tape":"2.3.0","jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","gitHead":"bed81a6efe79d2d2b42b103e8841445c73cd9dc4","homepage":"https://github.com/cainus/urlgrey#readme","_id":"urlgrey@0.4.1","_shasum":"f59612a36cff842a84cf8032f56be262fe133f68","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"dist":{"shasum":"f59612a36cff842a84cf8032f56be262fe133f68","size":76975,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.4.1.tgz"},"publish_time":1451925971002,"_cnpm_publish_time":1451925971002,"_hasShrinkwrap":false},"0.4.0":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.4.0","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"tape":"2.3.0"},"devDependencies":{"jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","homepage":"https://github.com/cainus/urlgrey","_id":"urlgrey@0.4.0","_shasum":"f065357040fb35c3b311d4e5dc36484d96dbea06","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"dist":{"shasum":"f065357040fb35c3b311d4e5dc36484d96dbea06","size":116087,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.4.0.tgz"},"publish_time":1400986321302,"_cnpm_publish_time":1400986321302,"_hasShrinkwrap":false},"0.3.3":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.3.3","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"tape":"~2.3.0"},"devDependencies":{"jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","homepage":"https://github.com/cainus/urlgrey","_id":"urlgrey@0.3.3","dist":{"shasum":"f30e637ff7965ddcc7a0af6548f02b3da6f71bc3","size":115653,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.3.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"publish_time":1394126962502,"_cnpm_publish_time":1394126962502,"_hasShrinkwrap":false},"0.3.2":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.3.2","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"tape":"~2.3.0"},"devDependencies":{"jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","readmeFilename":"README.md","homepage":"https://github.com/cainus/urlgrey","_id":"urlgrey@0.3.2","dist":{"shasum":"52f72ad363d227d6263b6eff3d58ddff943e61c7","size":115143,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.3.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"publish_time":1385822007027,"_cnpm_publish_time":1385822007027,"_hasShrinkwrap":false},"0.3.1":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.3.1","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"tape":"~2.3.0"},"devDependencies":{"jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","readmeFilename":"README.md","homepage":"https://github.com/cainus/urlgrey","_id":"urlgrey@0.3.1","dist":{"shasum":"3f11627c32d831f66a728df88f0de7e27de4890d","size":112829,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"publish_time":1385821278042,"_cnpm_publish_time":1385821278042,"_hasShrinkwrap":false},"0.3.0":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.3.0","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"browser":{"url":"./browser/url.js","querystring":"./browser/querystring.js"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"tape":"~2.3.0"},"devDependencies":{"jshint":"2.3.0","jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.5.0","mocha":"1.8.1","browserify":"2.35.2","chai":"1.8.1","istanbul":"0.1.45","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"testling":{"browsers":["ie10","ie11","firefox/nightly","firefox/25","firefox/8","chrome/6","chrome/18","chrome/31","chrome/canary","opera/17"],"harness":"mocha","files":"test/index.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","readmeFilename":"README.md","homepage":"https://github.com/cainus/urlgrey","_id":"urlgrey@0.3.0","dist":{"shasum":"e6015dc227652ff9c847f180452189a28e2729c7","size":112873,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"publish_time":1385820335951,"_cnpm_publish_time":1385820335951,"_hasShrinkwrap":false},"0.1.1":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.1.1","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"qs":"0.6.5","chai":"1.8.1"},"devDependencies":{"jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.0.4","mocha":"1.8.1","browserify":"2.35.2","uglify-js":"2.4.3"},"engine":{"node":">=0.8.6"},"main":"index.js","directories":{"test":"test"},"browser":{"url":"./browser/url.js"},"repository":{"type":"git","url":"git://github.com/cainus/urlgrey.git"},"author":{"name":"Gregg Caines"},"license":"BSD-2-Clause","readmeFilename":"README.md","_id":"urlgrey@0.1.1","dist":{"shasum":"606cbad96c2d3794ae35643ce092e79b45368c86","size":65710,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"publish_time":1384744499901,"_cnpm_publish_time":1384744499901,"_hasShrinkwrap":false},"0.0.9":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.9","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.0.4","mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"_id":"urlgrey@0.0.9","dist":{"shasum":"2053bcedb857cc5b461eaf6cfb06e0ce066c0178","size":28730,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.9.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1367698533863,"_cnpm_publish_time":1367698533863,"_hasShrinkwrap":false},"0.0.8":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.8","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.0.4","mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"_id":"urlgrey@0.0.8","dist":{"shasum":"4d77e3fcf86fb4a634d5041bdf2c2f3edbd8cc03","size":28708,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.8.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1366483651018,"_cnpm_publish_time":1366483651018,"_hasShrinkwrap":false},"0.0.7":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.7","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.0.4","mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"_id":"urlgrey@0.0.7","dist":{"shasum":"72aa3ecd05a9836a1ba32c7f77554aaad481d9ed","size":28568,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.7.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1364677347953,"_cnpm_publish_time":1364677347953,"_hasShrinkwrap":false},"0.0.6":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.6","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test-coveralls"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"jscoverage":"0.3.6","mocha-lcov-reporter":"0.0.1","coveralls":"2.0.4","mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"_id":"urlgrey@0.0.6","dist":{"shasum":"735fa3483339ea045612834ddf63e0c31092afa1","size":28193,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.6.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1364566995192,"_cnpm_publish_time":1364566995192,"_hasShrinkwrap":false},"0.0.5":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.5","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"readmeFilename":"README.md","_id":"urlgrey@0.0.5","dist":{"shasum":"55ad2656cb109ac31e769816d9bce13511bf17c5","size":15898,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.5.tgz"},"_npmVersion":"1.2.0","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1363027686661,"_cnpm_publish_time":1363027686661,"_hasShrinkwrap":false},"0.0.4":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.4","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"_id":"urlgrey@0.0.4","dist":{"shasum":"22cf471f95a2cf7af908bf6826187388d1e7b4ac","size":14812,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.4.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1362942143070,"_cnpm_publish_time":1362942143070,"_hasShrinkwrap":false},"0.0.3":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.3","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"readmeFilename":"README.md","_id":"urlgrey@0.0.3","dist":{"shasum":"d633d74d966714f4261d58cad017f37c41479867","size":14200,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.3.tgz"},"_npmVersion":"1.2.0","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1362586379740,"_cnpm_publish_time":1362586379740,"_hasShrinkwrap":false},"0.0.2":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.2","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"_id":"urlgrey@0.0.2","dist":{"shasum":"fe5d6f91e82a365650573c085787f5518332cf3d","size":3857,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.2.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1361939541870,"_cnpm_publish_time":1361939541870,"_hasShrinkwrap":false},"0.0.1":{"name":"urlgrey","description":"urlgrey is a library for url querying and manipulation","keywords":["url","uri"],"version":"0.0.1","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"scripts":{"test":"make test"},"maintainers":[{"name":"cainus","email":""}],"dependencies":{"underscore":"1.3.3"},"devDependencies":{"mocha":"1.8.1","should":"1.1.0"},"engine":{"node":">=0.8.6"},"_id":"urlgrey@0.0.1","dist":{"shasum":"85728469c6580b8b003aace9715dd67a48601459","size":3813,"noattachment":false,"key":"/urlgrey/-/urlgrey-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/urlgrey/download/urlgrey-0.0.1.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"cainus","email":"gregg@caines.ca"},"directories":{},"publish_time":1361935411435,"_cnpm_publish_time":1361935411435,"_hasShrinkwrap":false}},"readme":"![urlgrey](https://raw.github.com/cainus/urlgrey/master/urlgrey.png \"urlgrey\")\n\n\n[![Build Status](https://travis-ci.org/cainus/urlgrey.png?branch=master)](https://travis-ci.org/cainus/urlgrey)\n[![Coverage Status](https://coveralls.io/repos/cainus/urlgrey/badge.png?branch=master)](https://coveralls.io/r/cainus/urlgrey)\n[![NPM version](https://badge.fury.io/js/urlgrey.png)](http://badge.fury.io/js/urlgrey)\n\n[![browser support](https://ci.testling.com/cainus/urlgrey.png)](http://ci.testling.com/cainus/urlgrey)\n\nUrlgrey is a library for url manipulation.  It's got a chainable/fluent interface\nthat makes a number of methods available for querying different aspects of a url, \nand even modifying it to create new urls.\n\nMost methods are named after different parts of the url and allow you to read that part from the \ncurrent url if you don't pass any parameters, or they allow you to generate a new url with a \nchange to that part in the current url if you do pass a parameter.\n\nFor the examples below, we'll use the following url:\n```\nhttps://user:pass@subdomain.asdf.com/path/kid?asdf=1234#frag\n```\n\nTo create a new urlgrey object, just pass a url to urlgrey like so:\n```javascript\nvar url = urlgrey(\"https://user:pass@subdomain.asdf.com/path/kid?asdf=1234#frag\")\n```\n\n## API specifics:\n\n### url.child([lastPart])\n\nSetter/getter for the last part of a path:\n```javascript\n  url.child(); // returns \"kid\" \n  url.child(\"grandkid\"); // returns a new uri object with the uri \n                             // https://user:pass@subdomain.asdf.com/path/kid/grandkid?asdf=1234#frag\n```   \n### url.decode(encodedString);\nReturns the decoded version of the input string using node's standard querystring.unescape().\n```javascript\n      url.decode('this%20is%20a%20test');  // returns \"this is a test\"\n```   \n    \n### url.encode(unencodedString);\nReturns the encoded version of the input string using node's standard querystring.escape().\n```javascript\n      url.encode('this is a test'); // returns 'this%20is%20a%20test'\n```   \n    \n### url.hash([newHash])\nSetter/getter for the url fragment/anchor/hash of a path.\n```javascript\n      url.hash(); // returns 'frag'\n      url.hash(\"blah\"); // returns a new uri object with the uri\n                            // https://user:pass@subdomain.asdf.com/path/kid/?asdf=1234#blah\n```   \n### url.hostname([newHostname])\nSetter/getter for the url hostname.\n```javascript\n      url.hostname(); // returns 'subdomain.asdf.com'\n      url.hostname(\"geocities.com\"); // returns a new uri object with the uri\n                            // https://user:pass@geocities.com/path/kid/?asdf=1234#frag\n```   \n### url.parent();\nGet the parent URI of the current URI. (This property is read-only).\n```javascript\n      url.parent();  // returns a new uri object with the uri\n                     // https://user:pass@subdomain.asdf.com/path/\n```   \n\n### url.password([newPassword]);\nSetter/getter for the password portion of the url.\n```javascript\n      url.password(); // returns 'pass'\n      url.password(\"newpass\"); // returns a new uri object with the uri\n                            // https://user:newpass@subdomain.asdf.com/path/kid/?asdf=1234#frag\n```   \n### url.extendedPath([string]);\nSetter/getter for the path, querystring and fragment portion of the url\nall at once.\n```javascript\n      url.extendedPath(); // returns '/path/kid?asdf=1234#frag'\n      url.extendedPath(\"/newpath?new=query#newfrag\"); // returns a new uri object with the uri\n                               // https://user:newpass@subdomain.asdf.com/newpath?new=query#newfrag\n\n```   \n\n### url.path([mixed]);\nSetter/getter for the path portion of the url.\n```javascript\n      url.path(); // returns '/path/kid'\n      url.path(\"newpath\"); // returns a new uri object with the uri\n                               // https://user:newpass@subdomain.asdf.com/newpath\n\n      // ALSO, .path() can take arrays of strings as input as well:\n      url.path(['qwer', '/asdf'], 'qwer/1234/', '/1234/'); \n                      // this returns a new uri object with the uri\n                      // https://user:newpass@subdomain.asdf.com/qwer/asdf/qwer/1234/1234\n```   \n    \nNote: changing the path will remove the querystring and hash, since they rarely make sense on a new path.\n\n### url.port([newPort]);\nSetter/getter for the port portion of the url.\n```javascript\n      url.port(); // returns 80\n      url.port(8080); // returns a new uri object with the uri\n                          // https://user:pass@subdomain.asdf.com:8080/path/kid/?asdf=1234#frag\n```   \n\n\n### url.protocol([newProtocol]);\n\n\nSetter/getter for the protocol portion of the url.\n```javascript\n      url.protocol(); // returns 'https'\n      url.protocol(\"http\"); // returns a new uri object with the uri\n                                // http://user:pass@subdomain.asdf.com/path/kid/?asdf=1234#frag\n```   \n\n### url.query([mixed]);\n\nSetter/getter for the querystring using javascript objects.\n```javascript\n      url.query(); // returns {asdf : 1234}\n      url.query(false); // returns a new uri object with the querystring-free uri\n                            // https://user:pass@subdomain.asdf.com/path/kid#frag\n      url.query({spaced : 'space test'})\n                                // returns a new uri object with the input object serialized\n                                // and merged into the querystring like so:\n                                // https://user:pass@subdomain.asdf.com/path/kid/?asdf=1234&spaced=space%20test#frag\n```   \n    \nNOTE: escaping and unescaping of applicable characters happens automatically. (eg \" \" to \"%20\", and vice versa)\n\nNOTE: an input object will overwrite an existing querystring where they have the same names.\n\nNOTE: an input object will remove an existing name-value pair where they have the same names and the value in the input name-value pair is null.\n\n\n### url.queryString([newQueryString]);\n\nSetter/getter for the querystring using a plain string representation. This is lower-level than .query(), but allows complete control of the querystring.\n```javascript\n      url.queryString(); // returns asdf=1234  (notice there is no leading '?')\n      url.queryString(\"blah\"); // returns a new uri object with a new querystring\n                               // https://user:pass@subdomain.asdf.com/path/kid?blah#frag\n```   \n    \nNOTE: no escaping/unescaping of applicable characters will occur. This must be done manually.\n\n### url.rawChild();\n\nThis method is the same as url.child() but does not automatically url-encode\nany part of the input.\n\n### url.rawPath();\nThis method is the same as url.path() but does not automatically url-encode\nany part of the path.\n\n### url.rawQuery();\nThis method is the same as url.query() but does not automatically url-encode\nany of the keys or values in an input object.\n\n\n### url.toJson();\nReturns the json representation of the uri object, which is simply the uri as a string. The output is exactly the same as .toString(). This method is read-only.\n```javascript\n  url.toJson(); // returns \"https://user:pass@subdomain.asdf.com/path/kid/?asdf=1234#frag\"\n```   \n\n### url.toString();\nReturns the string representation of the uri object, which is simply the uri as a string. This method is read-only.\n```javascript\n      url.toString(); // returns \"https://user:pass@subdomain.asdf.com/path/kid/?asdf=1234#frag\"\n```   \n\n### url.username([newUsername])\nSetter/getter for the username portion of the url.\n```javascript\n      url.username(); // returns 'user'\n      url.username(\"newuser\"); // returns a new uri object with the \n                               // uri https://newuser:pass@subdomain.asdf.com/path/kid/?asdf=1234#frag\n```\n\n## Installation:\n### node.js:\n`npm install urlgrey --save`\n\nAlso!  If you're using urlgrey in an http application, see [urlgrey-connect](https://github.com/cainus/urlgrey-connect).  It gives you an urlgrey object already instantiated with the request url as req.uri in all your request handlers.\n### in the browser:\nLots of options:\n* grab urlgrey.js from the root of this repo for [browserify](http://browserify.org/)-built, unminified version.\n* grab urlgrey.min.js from the root of this repo for a [browserify](http://browserify.org/)-built, minified version.\n* use [browserify](http://browserify.org/) and include this like any other node package.\n\n\n## Contributing:\n### Testing:\n#### Run the node tests:\n* `make test`\n\n#### Run the browser file:// tests:\n* `make browser-build`\n* ...then open test.html in a browser\n\n#### Run the browser tests on a real server:\n* `make browser-build`\n* `python -m SimpleHTTPServer 9999`\n* ...then open http://localhost://9999/test.html in a browser\n\n### Building before committing\n* `make precommit`\n\n### Running node tests with a coverage report\n* `make test-cov`\n\n\n\n \n","_attachments":{},"homepage":"https://github.com/cainus/urlgrey#readme","bugs":{"url":"https://github.com/cainus/urlgrey/issues"},"license":"BSD-2-Clause"}