10 Best Node.js URL Parsing Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

url-parse

Small footprint URL parser that works seamlessly across Node.js and browser environments.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
906
Weekly Downloads
12M
Last Commit
19d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

parseurl

parse a url with memoization

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
3
Top Feedback
2Easy to Use
GitHub Stars
169
Weekly Downloads
19M
Last Commit
3yrs ago
Bundle Size (min+gzip)
0.58KB
Not Tree-Shakeable
fup

fast-url-parser

Fast url parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
212
Weekly Downloads
2M
Last Commit
7yrs ago
Bundle Size (min+gzip)
3.59KB
Not Tree-Shakeable
jvu

js-video-url-parser

A javascript parser to extract informations like provider, channel, id, start time from YouTube, Vimeo, Dailymotion, Twitch,... urls

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
205
Weekly Downloads
14K
Last Commit
1yr ago
Bundle Size (min+gzip)
4.47KB
Not Tree-Shakeable
mat

matchit

Quickly parse & match URLs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
303
Weekly Downloads
38K
Last Commit
2mos ago
Bundle Size (min+gzip)
0.72KB
Tree-Shakeable
upa

url-parse-as-address

Parse a URL assuming that it's http/https, even if protocol or // isn't present

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
15
Weekly Downloads
24K
Last Commit
6yrs ago
Bundle Size (min+gzip)
0.26KB
Not Tree-Shakeable
wur

wurl

A simple url parser for Node.js

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
21
Weekly Downloads
1K
Last Commit
2yrs ago
Bundle Size (min+gzip)
1.66KB
Not Tree-Shakeable
lu

lite-url

Small, regex-based URL parsing function for use in in browser-based JS

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
28
Weekly Downloads
51
Last Commit
4yrs ago
Bundle Size (min+gzip)
0.63KB
Not Tree-Shakeable
tol

tolerant

Overly tolerant url parser specialized in parsing protocol, auth (even invalid ones), host and port url parts.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
15
Weekly Downloads
13
Last Commit
7yrs ago
Bundle Size (min+gzip)
0.56KB
Not Tree-Shakeable
uj

url.js

URL parsing in javascript.

License Icon
License: Zlib
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
29
Weekly Downloads
4
Last Commit
2yrs ago
Bundle Size (min+gzip)
1.00KB
Not Tree-Shakeable