parse url string to URL
(string): url string
parsed URL
import * as url from 'url';url.parse('https://xxx.com/example?x=1#y=2') Copy
import * as url from 'url';url.parse('https://xxx.com/example?x=1#y=2')
parse url string to URL