UNPKG

@nodifier/url-parser

Version:

Parse url string into object of url components

15 lines (14 loc) 256 B
/** * * @param inputUrl * @returns ParseUrl */ export declare const parseUrl: (inputUrl: string) => {}; export type ParseUrl = { host: string; path: string; port: string; protocol: string; username: string; password: string; };