{"_id":"@alexsasharegan/uri-parser","_rev":"12-8eb385eddd3d49811ae0229d96d5e018","name":"@alexsasharegan/uri-parser","description":"A handful of utility functions for creating & parsing URI's.","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@alexsasharegan/uri-parser","version":"1.0.0","description":"A handful of utility functions for creating & parsing URI's.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","gitHead":"5204a4c551f50111bdaae6fdf140d896c14f422f","_id":"@alexsasharegan/uri-parser@1.0.0","_shasum":"2733a3635d60cb703ae7d0cd49a9f3dd72cbbfa2","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"2733a3635d60cb703ae7d0cd49a9f3dd72cbbfa2","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-1.0.0.tgz","integrity":"sha512-84scwaq7CZtKdV3y2jKWmNUamQ6mPQD7LBoTJ3Fzw9Hh1fGD8PoRocIOwVW2ykD0HGpPuZpGoy67j2B4AdCNKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5NoBv3laL+p/W7RZKDRcRDyL3+t+lnYopyXxd52td4AiBA1miOVJ6iUGCxw4NJHpEchkYsQViw7FUlpBVhqFzyEg=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/uri-parser-1.0.0.tgz_1487217241790_0.3967462060973048"}},"1.0.1":{"name":"@alexsasharegan/uri-parser","version":"1.0.1","description":"A handful of utility functions for creating & parsing URI's.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","gitHead":"4b2fa22f96aa720d430fae346153b5cd55dbfb83","_id":"@alexsasharegan/uri-parser@1.0.1","_shasum":"0d42dd49d8178585419fb445aa9b79bee07024e6","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"0d42dd49d8178585419fb445aa9b79bee07024e6","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-1.0.1.tgz","integrity":"sha512-6g4oBj3UkM6WEbrlX4jSrsuUSp3PKWDzIToVTIVDRJyzK3sAoPtvAgRziRfof9LHZZUxFPRH6Uo4Kb6fO3QlGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHslEX9fx/9g+skbxOQR8axuq07TFfw7Bu/SDBsWDqBAiAUjDF681Er6dfwoLrkhiiWYabFwl27EXnBNAoae5ZzUQ=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/uri-parser-1.0.1.tgz_1487262068216_0.31627981225028634"}},"1.0.2":{"name":"@alexsasharegan/uri-parser","version":"1.0.2","description":"A handful of utility functions for creating & parsing URI's.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","gitHead":"f37b6d1da9ed01dcb0f4c58a69a627188f55a1ca","_id":"@alexsasharegan/uri-parser@1.0.2","_shasum":"f44d7e89745943eaa6e9a7d15bc702432aea4451","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"f44d7e89745943eaa6e9a7d15bc702432aea4451","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-1.0.2.tgz","integrity":"sha512-ExsB1nBBScxVyD+r1sMyv3mgGbfHQiQyRWrEI2gaWxuhPIk9BGLm4WgZnuR3vcdLQNhJl5QsIcpwqjGdsbvHRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsGIWrAKl73gTUkOpx5oPsx58ee1eXeK/sKpybxk1ymAIgPOWZvPiMrVOvQGng20QLl4YqySbDcDDIMYfoACB/QRU="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/uri-parser-1.0.2.tgz_1487262154604_0.7142786872573197"}},"1.0.3":{"name":"@alexsasharegan/uri-parser","version":"1.0.3","description":"A handful of utility functions for creating & parsing URI's.","main":"index.min.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"gulp bundle","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","devDependencies":{"babel-preset-es2015":"^6.22.0","babelify":"^7.3.0","browserify":"^14.1.0","buffer":"^5.0.5","gulp":"^3.9.1","gulp-sourcemaps":"^2.4.1","gulp-uglify":"^2.0.1","gulp-util":"^3.0.8","source":"^0.0.3","uglifyify":"^3.0.4","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0"},"gitHead":"b0a3a5a178b5fb27606f652f4f2d703fa5516ae9","_id":"@alexsasharegan/uri-parser@1.0.3","_shasum":"8bac97d2a14d5d977a555fa64d61a9508f2188dc","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"8bac97d2a14d5d977a555fa64d61a9508f2188dc","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-1.0.3.tgz","integrity":"sha512-1U2upDZVQdgA7IcEbh3ms8M8QoRmqpe0slvsS186higbE23xU46TVH6uO73gisjdh6jZ3ZP0F6m3Mcj5Fl7LkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrM1CEktIrtQMv6hGqYc3nMSnwDnqOmeQbXCWZutr7gAiEAxmjZSD2efyE0CGORyKNbFSO1HBJsmEvtb3QfmClGTDw="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/uri-parser-1.0.3.tgz_1487351463246_0.7321140395943075"}},"1.0.4":{"name":"@alexsasharegan/uri-parser","version":"1.0.4","description":"A handful of utility functions for creating & parsing URI's.","main":"index.min.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"gulp bundle","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","devDependencies":{"babel-preset-es2015":"^6.22.0","babelify":"^7.3.0","browserify":"^14.1.0","buffer":"^5.0.5","gulp":"^3.9.1","gulp-sourcemaps":"^2.4.1","gulp-uglify":"^2.0.1","gulp-util":"^3.0.8","source":"^0.0.3","uglifyify":"^3.0.4","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0"},"gitHead":"a85f08c06c37f0fbb9d68b6d5c5a3e913eb1ecba","_id":"@alexsasharegan/uri-parser@1.0.4","_shasum":"b2088608883409d0d6247e6e37bebc4b654ea8cf","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"b2088608883409d0d6247e6e37bebc4b654ea8cf","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-1.0.4.tgz","integrity":"sha512-tOAr3QLFyrpx0Csr/ZR48Kl4FTVpsM8VNoNn6Mwz1w3ZMTolyxAUIGVuk+jDSl2/tGkXZUYyHi518P8N+08v/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUUimrfLBJPtsp/U1pHNd+DICDD6OQVPzHNLALgexWQAiA1/cmdddeM4PeJv3uxpgs/6cpZYAdEywK7x3YXLEUOPw=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/uri-parser-1.0.4.tgz_1487352179095_0.6947463005781174"}},"1.0.5":{"name":"@alexsasharegan/uri-parser","version":"1.0.5","description":"A handful of utility functions for creating & parsing URI's.","main":"index.js","scripts":{"test":"node test/","build":"babili src -d ./","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"09d0f9318e66d22621c60d12a90cc78a5c5fdb5c","_id":"@alexsasharegan/uri-parser@1.0.5","_shasum":"6bbea547e11f11fa7394bb3c12c10d9c187b5b2a","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"6bbea547e11f11fa7394bb3c12c10d9c187b5b2a","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-1.0.5.tgz","integrity":"sha512-MDv9FImlN//tixfbgP1YY3cDuXUqDTK+G3djpkpDFaT2rD69sdFvyesRNa8yyB/V3llTraVSlP44uyaZhUWKVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUhx/FhLmd7BVa0kRA8Qbl7DV6uW8bFZ9GMAYAf4n7lAiEA4fsRHaNI7C9SYxUYJaQPouE/UOVqCH9+MSV8ZuZcCiI="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/uri-parser-1.0.5.tgz_1487360650667_0.9799563444685191"}},"1.0.6":{"name":"@alexsasharegan/uri-parser","version":"1.0.6","description":"A handful of utility functions for creating & parsing URI's.","main":"index.js","scripts":{"test":"node test/","build":"BABEL_ENV=production babel src -d ./","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"f3317ec775247f78394ef99dd49c377e0885a48e","_id":"@alexsasharegan/uri-parser@1.0.6","_shasum":"dac790f9571aaff0432c88e82fb490b4bac75f3a","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"dac790f9571aaff0432c88e82fb490b4bac75f3a","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-1.0.6.tgz","integrity":"sha512-EPUq8GMW77/hbt2cJBG8YZTN2MASfMZzdt7qnI78/092hRGvsO3//fUR0q5verCrnNJnRpOBhkkkJl+YaF5Gdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUha92QLQF8aN0rSsZv5UedenTwBUOFEuEDDXcITZLLAiBp6TPtoFh/NFh/QPiyTu9iGFLfRgq29AbwNtTPfrPNVw=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/uri-parser-1.0.6.tgz_1487360944225_0.432640747865662"}},"2.0.0":{"name":"@alexsasharegan/uri-parser","version":"2.0.0","description":"A handful of utility functions for creating & parsing URI's.","main":"dist/index.js","scripts":{"test":"node test/","build":"webpack","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","devDependencies":{"babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","uglify-es":"^3.0.25","uglifyjs-webpack-plugin":"^0.4.6","webpack":"^3.3.0"},"gitHead":"c2c9c3438444054530eb17c813d7056b36b9fef4","_id":"@alexsasharegan/uri-parser@2.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"integrity":"sha512-JhQMffOfHm89OxGmpPu7p5rb4EWBVSiCxEy2p9yXupr21Oo9wm8Iesn+1YbjVOl5JJ7vpgW3LJqGxcfCeZJVRQ==","shasum":"53de6d88e6e81f270cb6b78fb98ae3acd075add6","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgamr6RIVnhpl9KETpFi5zSL4ohWQkRz6po1CTwVUURwIhALcIfasIRIWQtcKuAuwpETNeDbTkNsOfW7KMYPlKIiVr"}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uri-parser-2.0.0.tgz_1500236164668_0.628930866252631"}},"2.0.1":{"name":"@alexsasharegan/uri-parser","version":"2.0.1","description":"A handful of utility functions for creating & parsing URI's.","main":"dist/index.js","scripts":{"test":"node test/","build":"webpack","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","devDependencies":{"babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","uglify-es":"^3.0.25","uglifyjs-webpack-plugin":"^0.4.6","webpack":"^3.3.0"},"gitHead":"12ada556786c3d9b3360775a0c13271e20222aa6","_id":"@alexsasharegan/uri-parser@2.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"integrity":"sha512-zhL16Gjh526JW04z+ZPLB7o5VP+u2pnfHQ8+mHmEEZUseL5n69HjmRgfjPcnwaj2pyXXeR+e6i6Jr3IHoqliQQ==","shasum":"9ce45111ee0f332ee5969618b2ba5d871bbec766","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+VsxGcI4Vy2ypyQPwcIVGAFUI/kaPijWZe6tCVbaiZAiEAn1fGv3fYFkxf82bzh+XadcilobHkiyCe28rsYPFuIMU="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uri-parser-2.0.1.tgz_1500237974349_0.29755900613963604"}},"2.0.2":{"name":"@alexsasharegan/uri-parser","version":"2.0.2","description":"A handful of utility functions for creating & parsing URI's.","main":"dist/index.js","scripts":{"test":"node test/","build":"webpack"},"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"keywords":["uri","parser"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","devDependencies":{"babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1","uglify-es":"^3.0.25","uglifyjs-webpack-plugin":"^0.4.6","webpack":"^3.3.0"},"gitHead":"bf05db56b3699a676e55590841d23801c0390049","_id":"@alexsasharegan/uri-parser@2.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"integrity":"sha512-IS/lox45t4XIF5aBJ1cDsOljqAUIxvTn69kS84CPsCHOQh1NtvAj1xd/UmoG6rWq9XTyBlGuMvSTmxcHaNxlnA==","shasum":"fe7f42604a831b3de7bfc9605d6b9608f9f13966","tarball":"https://registry.npmjs.org/@alexsasharegan/uri-parser/-/uri-parser-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmHPVCl4SoJKP9xygdxxO/iM7URSZg8ZVTAbPyG8sscAiAItnWCLgEKtsURhw4seMVxj6QQwqbVd/k9EqUZRFsQCA=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uri-parser-2.0.2.tgz_1500238057483_0.8863952453248203"}}},"readme":"# URI Parser\n\nA handful of utility functions for creating & parsing URI's.\n\n```js\n// ESM only\nimport UriParser from \"@alexsasharegan/uri-parser\"\n\n/**\n* [ string ] encode( [ Object, optional ] data = {} )\n* URI encode an object to a flat string.\n*/\nlet encodedData = UriParser.encode({\n    number: 36,\n    string: \"John Doe\",\n    boolean: false,\n    nullValue: null,\n    undefinedValue: undefined,\n    list: [1, 2, 3]\n})\n\nconsole.log(encodedData)\n// number=36&string=John%20Doe&boolean=false&nullValue=null&list[]=1&list[]=2&list[]=3\n\n/**\n* [ Object ] parse( [ string, optional ] queryString = window.location.search )\n* Parse a query string to a native object\n*/\nlet parsedData = UriParser.parse(encodedData)\n\nconsole.log(parsedData)\n// { number: '36',\n//   string: 'John Doe',\n// \t boolean: 'false',\n// \t nullValue: 'null',\n// \t list: [ '1', '2', '3' ] }\n\n/**\n* [ string ] invalidateCache( [ string ] link, [ string, optional ] cacheBustKey = '_' )\n* Appends a Unix timestamp query string to a URL to invalidate cache\n*/\nlet url = \"http://placekitten.com/200/300\"\nlet invalidatedURL = UriParser.invalidateCache(url)\nlet differentKey = UriParser.invalidateCache(url, \"cacheBust\")\n\nconsole.log(invalidatedURL)\n// http://placekitten.com/200/300?_=1487215265686\nconsole.log(differentKey)\n// http://placekitten.com/200/300?cacheBust=1487215265686\n\nlet options = UriParser.encode({\n    imageid: 3546,\n    width: 1000,\n    height: 1500\n})\n\nlet urlWithQ = `https://example.com/api/resize?${options}#hash`\n// https://example.com/api/resize?imageid=3546&width=1000&height=1500\n\nconsole.log(UriParser.parse(urlWithQ))\n// { imageid: '3546', width: '1000', height: '1500' }\n\nconsole.log(UriParser.invalidateCache(urlWithQ))\n// https://example.com/api/resize?imageid=3546&width=1000&height=1500&_=1487216846706#hash\n```\n","maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"time":{"modified":"2022-06-12T14:29:05.135Z","created":"2017-02-16T03:54:02.024Z","1.0.0":"2017-02-16T03:54:02.024Z","1.0.1":"2017-02-16T16:21:08.430Z","1.0.2":"2017-02-16T16:22:36.410Z","1.0.3":"2017-02-17T17:11:03.477Z","1.0.4":"2017-02-17T17:23:01.018Z","1.0.5":"2017-02-17T19:44:10.886Z","1.0.6":"2017-02-17T19:49:04.455Z","2.0.0":"2017-07-16T20:16:04.795Z","2.0.1":"2017-07-16T20:46:14.531Z","2.0.2":"2017-07-16T20:47:37.755Z"},"homepage":"https://github.com/alexsasharegan/uri-parser#readme","keywords":["uri","parser"],"repository":{"type":"git","url":"git+https://github.com/alexsasharegan/uri-parser.git"},"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"bugs":{"url":"https://github.com/alexsasharegan/uri-parser/issues"},"license":"ISC","readmeFilename":"readme.md"}