node-tldts

JavaScript library to extract fields from URLs

Description

node-tldts is a JavaScript library to extract hostnames, domains, public suffixes, top-level domains and subdomains from URLs.

It's tuned for performane, handles both URLs and hostnames, supports full Unicode/IDNA, can parse email addresses, detects IPv4 and IPv6 addresses, has small bundles and small memory footprint and is fully tested.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/remusao/tldts#readme


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-tldts