{"name":"url-polyfill","version":"1.1.14","description":"Polyfill URL and URLSearchParams","main":"url-polyfill.js","scripts":{"start":"uglifyjs url-polyfill.js -m -o url-polyfill.min.js","test":"node ./tests/test.js","serve":"http-server  ./ -p9876"},"repository":{"type":"git","url":"git+https://github.com/lifaon74/url-polyfill.git"},"author":{"name":"valentin"},"license":"MIT","devDependencies":{"http-server":"^0.11.1","selenium-webdriver":"^4.0.0-alpha.1","uglify-js":"^3.4.9","@types/node":"^10.12.18"},"_id":"url-polyfill@1.1.14","gitHead":"1f99e333e3ec7c52aed0ffe149edab5c6eb3d1ce","bugs":{"url":"https://github.com/lifaon74/url-polyfill/issues"},"homepage":"https://github.com/lifaon74/url-polyfill#readme","_nodeVersion":"24.5.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-p4f3TTAG6ADVF3mwbXw7hGw+QJyw5CnNGvYh5fCuQQZIiuKUswqcznyV3pGDP9j0TSmC4UvRKm8kl1QsX1diiQ==","shasum":"26497c1302408af05ea548e3370f0d0c68aafc40","tarball":"http://registry-npm.ywwl.com/url-polyfill/download/url-polyfill-1.1.14.tgz","fileCount":16,"unpackedSize":75014,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBXSMv98vlhFKOhlP+35qGcC6U6RU4RofUUfCSzn4ASJAiBPd22DWDLVmGlxUSg/I020kfPb+powLKze9tpwNNxUDg=="}],"size":16754,"noattachment":false,"key":"/url-polyfill/-/url-polyfill-1.1.14.tgz"},"_npmUser":{"name":"lifaon74","email":"contact@valentin-richard.com"},"directories":{},"maintainers":[{"name":"lifaon74","email":"contact@valentin-richard.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/url-polyfill_1.1.14_1757349008316_0.19025868359183384"},"_hasShrinkwrap":false,"readme":"### Polyfill URL and URLSearchParams to match last WHATWG specifications\r\n\r\nCompliant in most of the use cases but not at 100% (like unicode chars, punycodes, etc...)\r\n\r\nTested on IE 10+\r\n\r\n#### Install\r\n```\r\nnpm i url-polyfill --save\r\n```\r\n\r\n#### Currently supported\r\n\r\n##### window.URL\r\n\r\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/API/URL\r\n\r\nSupported : 'hash', 'host', 'hostname', 'href', 'port', 'protocol', 'search', 'toString', 'pathname', 'origin', 'searchParams'\r\n\r\nExample:\r\n\r\n```js\r\nconst url = new URL('https://www.example.com:8080/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0');\r\n```\r\n- hash: `\"page0\"`\r\n- host: `\"www.example.com:8080\"`\r\n- hostname: `\"www.example.com\"`\r\n- href: `\"https://www.example.com:8080/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0\"`\r\n- origin: `\"https://www.example.com:8080\"`\r\n- pathname: `\"/\"`\r\n- port: `\"8080\"`\r\n- protocol: `\"https:\"`\r\n- search: `\"?fr=yset_ie_syc_oracle&type=orcl_hpset\"`\r\n- searchParams: URLSearchParams (see next)\r\n\r\n##### window.URLSearchParams\r\n\r\nDocumentation: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams\r\n\r\nSupported : 'append', 'delete', 'get', 'getAll', 'has', 'set', 'forEach', 'keys', 'values', 'entries', 'toString', 'Symbol.iterator'\r\n\r\nExample:\r\n\r\n```js\r\nconst url = new URL('https://www.example.com/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0');\r\nurl.searchParams.append('page', 0);\r\nconsole.log(url.toString()); // print: \"https://www.example.com/?fr=yset_ie_syc_oracle&type=orcl_hpset&page=0#page0\"\r\n```\r\n","publish_time":1757349008509,"_cnpm_publish_time":1757349008509,"dist-tags":{"latest":"1.1.14"}}