lifaon74 / Url Polyfill
Licence: mit
Polyfill URL and URLSearchParams to match last ES7 specifications
Stars: ✭ 294
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Url Polyfill
Netswift
A type-safe, high-level networking solution for Swift apps
Stars: ✭ 21 (-92.86%)
Mutual labels: url
Parse Domain
Splits a hostname into subdomains, domain and (effective) top-level domains.
Stars: ✭ 261 (-11.22%)
Mutual labels: url
Native Url
Node's url module implemented using the built-in URL API.
Stars: ✭ 275 (-6.46%)
Mutual labels: url
tall
Promise-based, No-dependency URL unshortner (expander) module for Node.js
Stars: ✭ 56 (-80.95%)
Mutual labels: url
React Native Drawer Layout
A platform-agnostic drawer layout for react-native
Stars: ✭ 258 (-12.24%)
Mutual labels: polyfill
Ffrouter
Powerful and easy-to-use URL routing library in iOS that supports URL Rewrite(强大、易用、支持 URL Rewrite的 iOS 路由库)
Stars: ✭ 263 (-10.54%)
Mutual labels: url
Abortcontroller Polyfill
Polyfill for the AbortController DOM API and abortable fetch (stub that calls catch, doesn't actually abort request).
Stars: ✭ 273 (-7.14%)
Mutual labels: polyfill
ngx-linkifyjs
Angular V8 wrapper for linkifyjs - library for finding links in plain text and converting them to HTML <a> tags via linkifyjs
Stars: ✭ 40 (-86.39%)
Mutual labels: url
Django Multiurl
Have you ever wanted multiple views to match to the same URL? Now you can.
Stars: ✭ 268 (-8.84%)
Mutual labels: url
Searchwithmybrowser
Open Cortana searches with your default browser.
Stars: ✭ 285 (-3.06%)
Mutual labels: url
Url Signer
Create and validate signed URLs with a limited lifetime
Stars: ✭ 273 (-7.14%)
Mutual labels: url
Polyfill URL and URLSearchParams to match last WHATWG specifications
Compliant in most of the use cases but not at 100% (like unicode chars, punycodes, etc...)
Tested on IE 10+
Install
npm i url-polyfill --save
Currently supported
window.URL
Documentation: https://developer.mozilla.org/en-US/docs/Web/API/URL
Supported : 'hash', 'host', 'hostname', 'href', 'port', 'protocol', 'search', 'toString', 'pathname', 'origin', 'searchParams'
Example:
const url = new URL('https://www.example.com:8080/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0');
- hash:
"page0"
- host:
"www.example.com:8080"
- hostname:
"www.example.com"
- href:
"https://www.example.com:8080/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0"
- origin:
"https://www.example.com:8080"
- pathname:
"/"
- port:
"8080"
- protocol:
"https:"
- search:
"?fr=yset_ie_syc_oracle&type=orcl_hpset"
- searchParams: URLSearchParams (see next)
window.URLSearchParams
Documentation: https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
Supported : 'append', 'delete', 'get', 'getAll', 'has', 'set', 'forEach', 'keys', 'values', 'entries', 'toString', 'Symbol.iterator'
Example:
const url = new URL('https://www.example.com/?fr=yset_ie_syc_oracle&type=orcl_hpset#page0');
url.searchParams.append('page', 0);
console.log(url.toString()); // print: "https://www.example.com/?fr=yset_ie_syc_oracle&type=orcl_hpset&page=0#page0"
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].