Expand description
Node url module: the WHATWG URL class (global + require('url').URL) and
the legacy url.parse. A URL instance stores its components as data
properties (so u.hostname reads directly) plus a @@native = "URL" tag for
toString.
Constants§
- MODULE_
METHODS - SEARCH_
PARAMS_ METHODS - Method names dispatched through
search_params_call(forinstance_has_methodwiring instdlib::mod;@@iteratormakes[...params]/for..ofwork).
Functions§
- call
- construct
new URL(input[, base]).- construct_
search_ params new URLSearchParams([init])— from a query string, an object, an iterable of[key, value]pairs, anotherURLSearchParams, or empty.- instance_
call URLinstance methods (component reads are plain data properties).- search_
params_ call URLSearchParamsinstance methods.