nowfound

Life & fun · February 3, 2019

TF

Tldts – Fast Domains and URLs Parsing (written in TypeScript)

Simplex Sigillum Veri

Tldts – Fast Domains and URLs Parsing (written in TypeScript) launched on February 3, 2019 with 6 votes, #1,249 of 3,290 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 7 years on.

What it does

For quite some time now I’ve been working on tldts ( npm ), an extemely fast , feature-full , battle-tested JavaScript library for domain parsing. It allows to answer questions such has: Most of the features are made possible by the public suffix list project. But tldts offers some bells and whistles on top. One of the goals is to be conveniant to use and as fast as it gets. Some libraries require you to provide already-valid hostnames, but tldts has no such constraints and will happily parse complex URLs, as well as already-extracted hostnames. The best part is that this does not come with any over-head! In this post I’d like to share some results of a performance comparison against other…from remusao.github.io

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, February 2019

the whole month →
  • MY

    Make your site’s pages instant in 1 minute and improve your conversion rate by 1%.

    Life & fun · 2019 · instant.page

  • Flatfile▲1,069

    The data onboarding platform

    AI · 2019 · flatfile.com

  • Mixkit▲984

    High-quality stock videos that are completely free.

    Growth · 2019 · mixkit.co

  • Sheety▲974

    Turn your Google Sheet into an API instantly, for free

    Dev tools · 2019 · sheety.co

  • Computer generated people - refresh to get a new one

    AI · 2019 · thispersondoesnotexist.com

  • Build custom ecommerce stores visually

    Work · 2019