All Projects → stevenvachon → Universal Url

stevenvachon / Universal Url

Licence: mit
WHATWG URL for Node & Browser.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Universal Url

Uddup
Urls de-duplication tool for better recon.
Stars: ✭ 103 (+415%)
Mutual labels:  url, url-parsing
Furl
🌐 URL parsing and manipulation made easy.
Stars: ✭ 2,152 (+10660%)
Mutual labels:  url, url-parsing
Galimatias
galimatias is a URL parsing and normalization library written in Java.
Stars: ✭ 146 (+630%)
Mutual labels:  url, url-parsing
Libvmod Querystring
Query-string module for Varnish Cache
Stars: ✭ 85 (+325%)
Mutual labels:  url, url-parsing
relateurl
Create a relative URL with options to minify.
Stars: ✭ 52 (+160%)
Mutual labels:  url, whatwg
Tldts
JavaScript Library to work against complex domain names, subdomains and URIs.
Stars: ✭ 151 (+655%)
Mutual labels:  url, url-parsing
Faup
Fast URL decoder library
Stars: ✭ 159 (+695%)
Mutual labels:  url, url-parsing
Hyperlink
🔗 Immutable, Pythonic, correct URLs.
Stars: ✭ 198 (+890%)
Mutual labels:  url, url-parsing
uri
A type to represent, query, and manipulate a Uniform Resource Identifier.
Stars: ✭ 16 (-20%)
Mutual labels:  url, url-parsing
Scala Uri
Simple scala library for building and parsing URIs
Stars: ✭ 225 (+1025%)
Mutual labels:  url, url-parsing
Frontexpress
An Express.js-Style router for the front-end
Stars: ✭ 263 (+1215%)
Mutual labels:  url, url-parsing
tall
Promise-based, No-dependency URL unshortner (expander) module for Node.js
Stars: ✭ 56 (+180%)
Mutual labels:  url, url-parsing
Url
URL Standard
Stars: ✭ 343 (+1615%)
Mutual labels:  whatwg, url
Html
HTML Standard
Stars: ✭ 5,217 (+25985%)
Mutual labels:  whatwg
Better Link Movement Method
Attempts to improve how clickable links are detected, highlighted and handled in TextView
Stars: ✭ 684 (+3320%)
Mutual labels:  url
Limax
Node.js module to generate URL slugs. Another one? This one cares about i18n and transliterates non-Latin scripts to conform to the RFC3986 standard. Mostly API-compatible with similar modules.
Stars: ✭ 423 (+2015%)
Mutual labels:  url
Environmentswitcher
🔥No repackage, switch environment with one click.(无需重新打包,一键切换环境 )
Stars: ✭ 401 (+1905%)
Mutual labels:  url
Node Fetch
A light-weight module that brings the Fetch API to Node.js
Stars: ✭ 7,176 (+35780%)
Mutual labels:  whatwg
Urlembeddedview
URLEmbeddedView automatically caches the object that is confirmed the Open Graph Protocol.
Stars: ✭ 633 (+3065%)
Mutual labels:  url
Url
Parse, build and manipulate URL's
Stars: ✭ 396 (+1880%)
Mutual labels:  url

universal-url NPM Version Build Status Dependency Monitor

WHATWG URL for Node & Browser.

  • For Node.js versions >= 8, the native implementation will be used.
  • For Node.js versions < 8, a shim will be used.
  • For web browsers without a native implementation, the same shim will be used.

Installation

Node.js >= 6 is required. To install, type this at the command line:

npm install universal-url

Usage

const {URL, URLSearchParams} = require('universal-url');

const url = new URL('http://domain/');
const params = new URLSearchParams('?param=value');

Global shim:

require('universal-url').shim();

const url = new URL('http://domain/');
const params = new URLSearchParams('?param=value');

Browserify/etc

The bundled file size of this library can be large for a web browser. If this is a problem, try using universal-url-lite in your build as an alias for this module.

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].