{"_id":"native-url","_rev":"309908","name":"native-url","description":"Brings the node url api layer to whatwg-url class","dist-tags":{"latest":"0.3.4"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"time":{"modified":"2021-06-03T19:44:42.000Z","created":"2019-09-23T21:26:34.444Z","0.3.4":"2020-06-29T19:47:21.524Z","0.3.3":"2020-06-24T20:21:08.141Z","0.3.2":"2020-06-05T22:56:40.901Z","0.3.1":"2020-04-05T00:29:57.537Z","0.3.0":"2020-04-04T21:24:36.410Z","0.2.6":"2020-01-29T19:18:36.903Z","0.2.5":"2020-01-24T23:39:05.011Z","0.2.4":"2019-12-16T21:32:23.166Z","0.2.3":"2019-11-27T18:53:08.435Z","0.2.2":"2019-11-26T18:51:54.087Z","0.2.1":"2019-11-13T22:21:13.119Z","0.2.0":"2019-10-24T22:16:49.532Z","0.1.2":"2019-10-21T21:25:08.274Z","0.1.1":"2019-09-23T21:42:36.143Z","0.1.0":"2019-09-23T21:26:34.444Z"},"users":{},"author":{"name":"Janicklas Ralph"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"versions":{"0.3.4":{"name":"native-url","version":"0.3.4","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","unpkg":"dist/index.umd.js","jsdelivr":"dist/index.umd.js","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic","release":"release-it"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^4.2.3","jest":"^25.2.6","karmatic":"^1.4.0","lint-staged":"^10.1.1","microbundle":"^0.11.0","prettier":"^2.0.2","release-it":"^13.5.1","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"0c5aec20a765bc6a396b6066abf6951dbb5d000d","_id":"native-url@0.3.4","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"29c943172aed86c63cee62c8c04db7f5756661f8","size":18935,"noattachment":false,"key":"/native-url/-/native-url-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.3.4.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.3.4_1593460041321_0.18984982589570842"},"_hasShrinkwrap":false,"publish_time":1593460041524,"_cnpm_publish_time":1593460041524},"0.3.3":{"name":"native-url","version":"0.3.3","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","unpkg":"dist/index.umd.js","jsdelivr":"dist/index.umd.js","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic","release":"release-it"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^4.2.3","jest":"^25.2.6","karmatic":"^1.4.0","lint-staged":"^10.1.1","microbundle":"^0.11.0","prettier":"^2.0.2","release-it":"^13.5.1","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"a24b44369e32a5c611f930cc2685c694f9907b73","_id":"native-url@0.3.3","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"09300f35416a49f79f6f8ab9e3c05c53c2873666","size":18578,"noattachment":false,"key":"/native-url/-/native-url-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.3.3.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.3.3_1593030067954_0.35316606662372707"},"_hasShrinkwrap":false,"publish_time":1593030068141,"_cnpm_publish_time":1593030068141},"0.3.2":{"name":"native-url","version":"0.3.2","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","unpkg":"dist/index.umd.js","jsdelivr":"dist/index.umd.js","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic","release":"release-it"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^4.2.3","jest":"^25.2.6","karmatic":"^1.4.0","lint-staged":"^10.1.1","microbundle":"^0.11.0","prettier":"^2.0.2","release-it":"^13.5.1","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"d14f98f7ccde78c83aa75931b208aaf6888af67a","_id":"native-url@0.3.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"30cc5f61ab3d44d5e2ec530c20a2f8a2361b7ad0","size":18573,"noattachment":false,"key":"/native-url/-/native-url-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.3.2.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.3.2_1591397800754_0.7848323128411441"},"_hasShrinkwrap":false,"publish_time":1591397800901,"_cnpm_publish_time":1591397800901},"0.3.1":{"name":"native-url","version":"0.3.1","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","unpkg":"dist/index.umd.js","jsdelivr":"dist/index.umd.js","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic","release":"release-it"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^4.2.3","jest":"^25.2.6","karmatic":"^1.4.0","lint-staged":"^10.1.1","microbundle":"^0.11.0","prettier":"^2.0.2","release-it":"^13.5.1","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"66ed9808f9b995b80e66b7928817748a4da7afc7","_id":"native-url@0.3.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"5045c65d0eb4c3ee548d48e3cb50797eec5a3c54","size":18543,"noattachment":false,"key":"/native-url/-/native-url-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.3.1.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.3.1_1586046597391_0.3140179340460223"},"_hasShrinkwrap":false,"publish_time":1586046597537,"_cnpm_publish_time":1586046597537},"0.3.0":{"name":"native-url","version":"0.3.0","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","unpkg":"dist/index.umd.js","jsdelivr":"dist/index.umd.js","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^4.2.3","jest":"^25.2.6","karmatic":"^1.4.0","lint-staged":"^10.1.1","microbundle":"^0.11.0","prettier":"^2.0.2","release-it":"^13.5.1","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"122ea211eec545bb7085e9c46cd636d891b309df","_id":"native-url@0.3.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"40416f5e0fdbc87900133fe860f00b0aa502ee23","size":18497,"noattachment":false,"key":"/native-url/-/native-url-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.3.0.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.3.0_1586035476253_0.19524168941935316"},"_hasShrinkwrap":false,"publish_time":1586035476410,"_cnpm_publish_time":1586035476410},"0.2.6":{"name":"native-url","version":"0.2.6","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","unpkg":"dist/index.umd.js","jsdelivr":"dist/index.umd.js","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","karmatic":"^1.4.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"9c285d8f2519244088f363073fd255bb079a27f7","_id":"native-url@0.2.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"ca1258f5ace169c716ff44eccbddb674e10399ae","size":17258,"noattachment":false,"key":"/native-url/-/native-url-0.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.2.6.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.2.6_1580325516671_0.05142758608487985"},"_hasShrinkwrap":false,"publish_time":1580325516903,"_cnpm_publish_time":1580325516903},"0.2.5":{"name":"native-url","version":"0.2.5","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","karmatic":"^1.4.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"a731becacb15b66ddabfa1ec68c3c8721deabd12","_id":"native-url@0.2.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"ad97886a794037c2d5d1a0b5bc0ba8cf6281db14","size":29056,"noattachment":false,"key":"/native-url/-/native-url-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.2.5.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.2.5_1579909144883_0.7968399943725772"},"_hasShrinkwrap":false,"publish_time":1579909145011,"_cnpm_publish_time":1579909145011},"0.2.4":{"name":"native-url","version":"0.2.4","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"third_party/url.d.ts","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","karmatic":"^1.4.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"1870af4dc8e05dde5b7408a2bf3d1ff621dc29cc","_id":"native-url@0.2.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"37623b3db2c7bb6670e50e379634248ba5ca9d90","size":28707,"noattachment":false,"key":"/native-url/-/native-url-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.2.4.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.2.4_1576531943037_0.8540914193415832"},"_hasShrinkwrap":false,"publish_time":1576531943166,"_cnpm_publish_time":1576531943166},"0.2.3":{"name":"native-url","version":"0.2.3","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"index.d.ts","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"peerDependencies":{"@types/node":">=8.0.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","karmatic":"^1.4.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"695d7942dde5e252dc364f0462c011f013dfc4c4","_id":"native-url@0.2.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"29dfc0d7b2b396af493872ccc4b7d974e72ecb9a","size":27077,"noattachment":false,"key":"/native-url/-/native-url-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.2.3.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.2.3_1574880788266_0.15594525936946946"},"_hasShrinkwrap":false,"publish_time":1574880788435,"_cnpm_publish_time":1574880788435},"0.2.2":{"name":"native-url","version":"0.2.2","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"index.d.ts","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"peerDependencies":{"@types/node":">=8.0.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","karmatic":"^1.4.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"262cc5bbd3839ed2c3f51bbd61f2c407400231cf","_id":"native-url@0.2.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"a0e1ece7753a17d155068214872e81d7d322b410","size":26297,"noattachment":false,"key":"/native-url/-/native-url-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.2.2.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.2.2_1574794313894_0.8915497388327389"},"_hasShrinkwrap":false,"publish_time":1574794314087,"_cnpm_publish_time":1574794314087},"0.2.1":{"name":"native-url","version":"0.2.1","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","typings":"index.d.ts","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"peerDependencies":{"@types/node":">=8.0.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","karmatic":"^1.4.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2","webpack":"^4.41.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"8c9cd74a6d7c4c72238911fb3a1f79775e577174","_id":"native-url@0.2.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"af34e7ade00049a880dbd476f6fc80ffbb4095ef","size":26004,"noattachment":false,"key":"/native-url/-/native-url-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.2.1.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.2.1_1573683672989_0.10986039150243143"},"_hasShrinkwrap":false,"publish_time":1573683673119,"_cnpm_publish_time":1573683673119},"0.2.0":{"name":"native-url","version":"0.2.0","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"5da61584470b234e90755f38e1b27b4d0bd711e4","_id":"native-url@0.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"7b4b12e8abd92e1dde1af23992d2aa92dc966b5b","size":25165,"noattachment":false,"key":"/native-url/-/native-url-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.2.0.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.2.0_1571955409289_0.7550907154503348"},"_hasShrinkwrap":false,"publish_time":1571955409532,"_cnpm_publish_time":1571955409532},"0.1.2":{"name":"native-url","version":"0.1.2","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","scripts":{"build":"microbundle","test:browser":"karmatic","test:node":"jest","pretest":"yarn run build","test":"jest && karmatic"},"author":{"name":"Janicklas Ralph"},"license":"Apache-2.0","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/native-url.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2"},"lint-staged":{"{src,tests}/**/*.js":["prettier --write","git add"]},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"gitHead":"71705847b76a3ed020e29f8a95f4a575b51bb27e","_id":"native-url@0.1.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"b324245ccfe1d327985dc91c6e1f44d1c66c3ea0","size":25667,"noattachment":false,"key":"/native-url/-/native-url-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.1.2.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.1.2_1571693108142_0.08915558561630399"},"_hasShrinkwrap":false,"publish_time":1571693108274,"_cnpm_publish_time":1571693108274},"0.1.1":{"name":"native-url","version":"0.1.1","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","scripts":{"build":"microbundle","test":"yarn run build && jest"},"author":{"name":"Janicklas Ralph"},"license":"MIT","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/janicklas-ralph/native-url.git"},"bugs":{"url":"https://github.com/janicklas-ralph/native-url/issues"},"homepage":"https://github.com/janicklas-ralph/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2"},"lint-staged":{"linters":{"{src,tests}/**/*.js":["prettier --write","git add"]}},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"_id":"native-url@0.1.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"3ac64d833a4c74beb1c6d81543a288c71666308a","size":18873,"noattachment":false,"key":"/native-url/-/native-url-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.1.1.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.1.1_1569274956015_0.165822752146088"},"_hasShrinkwrap":false,"publish_time":1569274956143,"_cnpm_publish_time":1569274956143},"0.1.0":{"name":"native-url","version":"0.1.0","description":"Brings the node url api layer to whatwg-url class","source":"src/index.js","main":"dist/index.js","module":"dist/index.mjs","scripts":{"build":"microbundle","test":"yarn run build && jest"},"author":{"name":"Janicklas Ralph"},"license":"MIT","dependencies":{"querystring":"^0.2.0"},"repository":{"type":"git","url":"git+https://github.com/janicklas-ralph/native-url.git"},"bugs":{"url":"https://github.com/janicklas-ralph/native-url/issues"},"homepage":"https://github.com/janicklas-ralph/native-url#readme","keywords":["url","uri","normalization","normalisation","query","querystring","whatwg-url","parse","format","resolve","resolveObject"],"devDependencies":{"husky":"^3.0.5","jest":"^24.9.0","lint-staged":"^9.2.5","microbundle":"^0.11.0","prettier":"^1.18.2"},"lint-staged":{"linters":{"{src,tests}/**/*.js":["prettier --write","git add"]}},"husky":{"hooks":{"pre-commit":"yarn run test && lint-staged"}},"_id":"native-url@0.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"ea1802d41ca6118e25bab68fe30ed80ed3d95bb9","size":625,"noattachment":false,"key":"/native-url/-/native-url-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-url/download/native-url-0.1.0.tgz"},"maintainers":[{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-url_0.1.0_1569273994020_0.900176645945908"},"_hasShrinkwrap":false,"publish_time":1569273994444,"_cnpm_publish_time":1569273994444}},"readme":"# native-url [![npm package version](https://badgen.net/npm/v/native-url)](https://npm.im/native-url) [![bundle size](https://badgen.net/bundlephobia/minzip/native-url)](https://bundlephobia.com/result?p=native-url) [![github license](https://badgen.net/github/license/GoogleChromeLabs/native-url)](https://github.com/GoogleChromeLabs/native-url/blob/master/LICENSE)\n\nA lightweight implementation of Node's [url](http://nodejs.org/api/url.html) interface atop the [URL API](https://developer.mozilla.org/en-US/docs/Web/API/URL). Use it instead of the `url` module to reduce your bundle size by around 7.5 kB.\n\nWeighs **1.6 kB gzipped**, works in Node.js 7+ and [all modern browsers](https://caniuse.com/#feat=mdn-api_url):\n\n![Chrome 32, Firefox 19, Safari 7, Edge 12, Opera 19](https://badges.herokuapp.com/browsers?googlechrome=32&firefox=19&safari=7&microsoftedge=12&opera=19)\n\nOlder browsers can be [easily polyfilled](#polyfill-for-older-browsers) without new browsers loading the code.\n\n## Installation\n\n```sh\nnpm i native-url\n```\n\n## Usage\n\n```js\nconst url = require('native-url');\n\nurl.parse('https://example.com').host; // example.com\nurl.parse('/?a=b', true).query; // { a: 'b' }\n```\n\n### Usage with Webpack\n\nWhen you use the `url` module, webpack bundles [`node-url`](https://github.com/defunctzombie/node-url) for the browser. You can alias webpack to use `native-url` instead, saving around 7.5kB:\n\n```js\n// webpack.config.js\nmodule.exports = {\n  // ...\n  resolve: {\n    alias: {\n      url: 'native-url',\n    },\n  },\n};\n```\n\nThe result is **functionally equivalent** in Node 7+ and all modern browsers.\n\n### Usage with Rollup\n\nRollup does not bundle shims for Node.js modules like `url` by default, but we can add `url` support via `native-url` using aliases:\n\n```js\n// rollup.config.js\nimport resolve from 'rollup-plugin-node-resolve';\nimport alias from '@rollup/plugin-alias';\n\nmodule.exports = {\n  // ...\n  plugins: [\n    resolve(),\n    alias({\n      entries: {\n        url: 'native-url',\n      },\n    }),\n  ],\n};\n```\n\nWith this in place, `import url from 'url'` will use `native-url` and keep your bundle small.\n\n## API\n\nRefer Node's [legacy url documentation](https://nodejs.org/api/url.html#url_legacy_url_api) for detailed API documentation.\n\n### `url.parse(urlStr, [parseQueryString], [slashesDenoteHost])`\n\nParses a URL string and returns a URL object representation:\n\n```js\nurl.parse('https://example.com');\n// {\n//   href: 'http://example.com/',\n//   protocol: 'http:',\n//   slashes: true,\n//   host: 'example.com',\n//   hostname: 'example.com',\n//   query: {},\n//   search: null,\n//   pathname: '/',\n//   path: '/'\n// }\n\nurl.parse('/foo?a=b', true).query.a; // \"b\"\n```\n\n### `url.format(urlObj)`\n\nGiven a parsed URL object, returns its corresponding URL string representation:\n\n```js\nurl.format({ protocol: 'https', host: 'example.com' });\n// \"https://example.com\"\n```\n\n### `url.resolve(from, to)`\n\nResolves a target URL based on the provided base URL:\n\n```js\nurl.resolve('/a/b', 'c');\n// \"/a/b/c\"\nurl.resolve('/a/b', '/c#d');\n// \"/c#d\"\n```\n\n## Polyfill for Older Browsers\n\n`native-url` relies on the DOM [URL API](https://developer.mozilla.org/en-US/docs/Web/API/URL) to work. For older browsers that don't support the `URL` API, a [polyfill](https://www.npmjs.com/package/url-polyfill) is available.\n\nConveniently, a polyfill is never needed for [browsers that support ES Modules](https://caniuse.com/#feat=es6-module), so we can use `<script nomodule>` to conditionally load it for older browsers:\n\n```html\n<script nomodule src=\"/path/to/url-polyfill.js\"></script>\n```\n","_attachments":{},"homepage":"https://github.com/GoogleChromeLabs/native-url#readme","bugs":{"url":"https://github.com/GoogleChromeLabs/native-url/issues"},"license":"Apache-2.0"}