RepositoryTypeScriptDEGermany
RE

remusao/tldts

JavaScript Library to extract domains, subdomains and public suffixes from complex URIs.

780stars
36forks
0issues
4views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: public-suffix-list

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: url

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: uri

#1 Repository Của Tháng

⚡ tldts: Phân tích URL siêu nhanh với hỗ trợ PSL đầy đủ

tldts là thư viện JavaScript/TypeScript tối ưu hiệu năng (0.1–1 μs/input) để trích xuất hostname, domain, public suffix, TLD và subdomain từ URL hoặc hostname.

tldts do remusao phát triển, giải quyết nhu cầu phân tích URL phức tạp với độ chính xác cao dựa trên Public Suffix List. Hỗ trợ cả URL, hostname, email, IPv4/IPv6 và Unicode/IDNA. Phù hợp cho ứng dụng cần xử lý URL thời gian thực hoặc batch.

✨ Điểm nổi bật

  • Hiệu năng cao: 0.1–1 μs cho mỗi đầu vào, nhanh hơn các thư viện đối thủ như psl, tldjs, parse-domain
  • Hỗ trợ đa dạng đầu vào: xử lý URL, hostname, email, IPv4/IPv6
  • Unicode/IDNA đầy đủ: hỗ trợ tên miền quốc tế
  • Public Suffix List liên tục cập nhật: theo dõi phiên bản mới nhất từ IANA
  • TypeScript + nhiều định dạng bundle: UMD, ESM, CJS và type definitions
  • Kích thước nhỏ, bộ nhớ ít: tối ưu cho môi trường ràng buộc
  • Được kiểm chứng: độ phủ test đầy đủ, dùng thử nghiệm ở sản xuất
  • CLI hữ�p lệ: hỗ trợ phân tích đơn lẻ hoặc hàng loạt qua dòng lệnh

💡 Vì sao đáng chú ý

tldts khác biệt nhờ tối ưu hiệu năng từ thuật toán và cấu trúc dữ liệu, đồng thời hỗ trợ đa dạng đầu vào (URL, email, IP) trong một API thống nhất. Thư viện còn cung cấp CLI tiện lợi cho debug hoặc xử lý batch. Với bundle nhỏ và hỗ trợ đa nền tảng (Node, browser), tldts phù hợp cho ứng dụng web, backend hoặc công cụ phân tích dữ liệu.


#JavaScript #URLParsing #PublicSuffixList #TypeScript #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
peerigon/parse-domain

Splits a hostname into subdomains, domain and (effective) top-level domains.

519
Nov 13, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.9k
Oct 31, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.4k
Nov 20, 2026
RepositoryTypeScript
vuejs/vue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

212.5k
Oct 10, 2024
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.3k
Nov 16, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

252.9k
Nov 21, 2026
RepositoryMarkdown
DigitalPlatDev/FreeDomain

Free domain registration and practical DNS learning resources for everyone.

209.1k
Aug 12, 2026
RepositoryJavaScript
trekhleb/javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

196.7k
Jul 26, 2026