UNPKG
@nodifier/url-parser
Version:
beta (0.0.1-beta.0)
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
0.0.1-beta.0
Parse url string into object of url components
@nodifier/url-parser
/
dist
/
index.d.ts
15 lines
(14 loc)
•
256 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** * *
@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
; };