{"_id":"uri-parser","_rev":"355998","name":"uri-parser","description":"Module that has utilities for URI parsing","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"goulash1971","email":"goulash1971@yahoo.com"}],"time":{"modified":"2021-07-13T08:21:15.000Z","created":"2011-06-27T02:46:13.986Z","1.0.1":"2018-03-13T08:15:36.704Z","1.0.0":"2011-06-27T02:46:13.986Z"},"users":{},"author":{"name":"Stuart Hudson","email":"goulash1971@gmail.com"},"repository":{"type":"git","url":"git://github.com/goulash1971/uri-parser.git"},"versions":{"1.0.1":{"name":"uri-parser","description":"Module that has utilities for URI parsing","version":"1.0.1","author":{"name":"Stuart Hudson","email":"goulash1971@gmail.com"},"keywords":["uri","parser"],"homepage":"https://github.com/goulash1971/uri-parser","contributors":[{"name":"Stuart Hudson","email":"goulash1971@gmail.com","url":"http://goulash1971.com/"}],"scripts":{"test":"make test"},"directories":{"lib":"lib/","test":"tests/"},"main":"./index","engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/goulash1971/uri-parser.git"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"gitHead":"29b52c1ab99489ec1b54338a85d16ae04761a814","bugs":{"url":"https://github.com/goulash1971/uri-parser/issues"},"_id":"uri-parser@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"goulash1971","email":"goulash1971@gmail.com"},"dist":{"shasum":"3307ebb50f279c11198ad09214bdaf24e29735b2","size":3894,"noattachment":false,"key":"/uri-parser/-/uri-parser-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/uri-parser/download/uri-parser-1.0.1.tgz"},"maintainers":[{"name":"goulash1971","email":"goulash1971@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uri-parser_1.0.1_1520928936655_0.8706612274412255"},"_hasShrinkwrap":false,"publish_time":1520928936704,"_cnpm_publish_time":1520928936704},"1.0.0":{"name":"uri-parser","description":"Module that has utilities for URI parsing","version":"1.0.0","author":{"name":"Stuart Hudson","email":"goulash1971@gmail.com"},"keywords":["uri","parser"],"homepage":"https://github.com/goulash1971/uri-parser","contributors":[{"name":"Stuart Hudson","email":"goulash1971@gmail.com","url":"http://goulash1971.com/"}],"scripts":{"test":"make test"},"directories":{"lib":"lib/","test":"tests/"},"main":"./index","engines":{"node":"*"},"repository":{"type":"git","url":"git://github.com/goulash1971/uri-parser.git"},"licenses":[{"type":"The MIT License","url":"http://www.opensource.org/licenses/mit-license.php"}],"dependencies":{},"devDependencies":{},"_id":"uri-parser@1.0.0","_engineSupported":true,"_npmVersion":"1.0.3","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"d4647814ab2012e0f6327ee4be8ec1b3bc014e23","size":3913,"noattachment":false,"key":"/uri-parser/-/uri-parser-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/uri-parser/download/uri-parser-1.0.0.tgz"},"publish_time":1309142773986,"maintainers":[{"name":"goulash1971","email":"goulash1971@yahoo.com"}],"_cnpm_publish_time":1309142773986,"_hasShrinkwrap":false}},"readme":"uri-parser - Module for URI parsing\n==========\n\n### Overview\n\nURI-Parser is a module that provides functions for parsing URI (Uniform Resource Identifier) that is loosly \nbased upon the standard `url` module within `node`.  Parsing is derived from the **excellent** `parseUri` \nfunction by [Steven Levithan](http://stevenlevithan.com).\n\nAlthough the URI-parser takes care of most URI specifications it is **not fully compliant with the RFC-3986 \nspecification**. For a more complete and fully compliant implemnentation I recommend you take a look at \nthe [URI Type for javascript](https://github.com/webr3/URI) module.\n\n#### What's an URI?\n\nThe best place to start if you want to know more about URIs is (of course) the wikipedia article on\n[Uniform Resource Identifiers](http://en.wikipedia.org/wiki/Uniform_Resource_Identifier).\n\nOnce you have been there, and are suitably confused, go take a look at Steve Leviathan's test page for \nhis [`parseUri`](http://stevenlevithan.com/demo/parseuri/js/) function that used is within this module to \ndo all of the hard work.\n\n### Installation\n\tnpm install uri-parser\n\n### Using the Module\nThe 'uri-parser' module is accessed in the standard way by calling `require(\"uri-parser\");` and once loaded \nyou have access to the following objects and functions.\n\n#### Class `uri-parser.Parser`\nThe `Parser` class is a wrapper object class that provides access to an object that can be \nused to parse `uri` instances.\n\nThis class has the following interface:\n\n##### Constructor `Parser(options)`\nCreates a new instance with the specified options\n\n##### Method `Parser.parse(uriStr, strictMode)`\nParses an URI into components (optionally in *strict* mode)\n\n##### Method `Parser.complete(obj)`\nCreates a *complete* URI definition from its components\n\n##### Method `Parser.format(obj)`\nFormats an URI definition into a well-formed URI string\n\n#### Function `uri-parser.parse`\nThe `parse` function is a proxy to the `Parser.parse(uriStr, strictMode)` method on a singleton `Parser`\ninstance that is created for the module.\n\n#### Function `uri-parser.complete`\nThe `complete` function is a proxy to the `Parser.complete(obj)` method on a singleton `Parser`\ninstance that is created for the module.\n\n#### Function `uri-parser.format`\nThe `format` function is a proxy to the `Parser.format(obj)` method on a singleton `Parser`\ninstance that is created for the module.\n\n### Contributors\n- [Stuart Hudson](https://github.com/goulash1971)\n\n### License\nMIT License\n\n### Acknowledgements\n- [Steven Levithan](http://stevenlevithan.com) for the `parseUri` function that is the core of this module\n\n---\n### Author\nStuart Hudson\t\t \n\n","_attachments":{},"homepage":"https://github.com/goulash1971/uri-parser","bugs":{"url":"https://github.com/goulash1971/uri-parser/issues"}}