valid-url icon indicating copy to clipboard operation
valid-url copied to clipboard

Is this package being maintained?

Open dandv opened this issue 4 years ago • 3 comments

Congrats on the 1.3 million weekly downloads, but no updates in 7 years, and no replies to issues?

dandv avatar May 28 '20 03:05 dandv

Looks like validator.js has far more traction. Too bad TypeScript support is a mess.

dandv avatar May 28 '20 04:05 dandv

Hi @dandv unfortunately, validator.isURL('http://example.com:8042/over/there?name=férret#no#se') returns true whereas éand # are not allowed in respectively the query and the fragment.

I was facing the same issues so I decided to build a module as reliable as possible strictly based on RFC-3986: https://github.com/adrienv1520/node-uri

The main features of this project are:

  • parse any URI (URNs, URLs, URIs with IDNs support, etc.);
  • get the safe Punycode ASCII or Unicode serialization of a domain;
  • check an URI, HTTP/HTTPS/Sitemap URL, IP, domain is valid with clear checking errors;
  • encode/decode an URI, HTTP/HTTPS/Sitemap URL.

I hope it could help, despite the lack of TypeScript support.

adrienv1520 avatar Oct 17 '20 16:10 adrienv1520

Thank you @adrienv1520 for this package, fixes and fusion two of my packages

AuracleTech avatar Feb 03 '22 23:02 AuracleTech