Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 429 Bytes

File metadata and controls

23 lines (12 loc) · 429 Bytes

url-parser

Fast parse url using regex adapt from jQuery Mobile and return WHATWG URL-like object

Usage

urlParser(url)

  • url <String> absolute url

return a WHATWG URL-like object.

class: urlParser.URL

same as Node's WHATWG URL api, but without URLSearchParams class.

Example

See example

LICENSE

MIT