urljs icon indicating copy to clipboard operation
urljs copied to clipboard

[DEPRECATED] An API for working with URLs in JavaScript

Results 2 urljs issues
Sort by recently updated
recently updated
newest added

One thing that often comes up for our use case is normalizing default ports. E.g. we'd like ``` URL.normalize('http://www.mysite.com:80/path') ``` to turn into ``` 'http://www.mysite.com/path' ``` and ``` URL.normalize('https://www.mysite.com:443/path') ```...

> var url = new URL('localhost') > url.host() > undefined

Bug