Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this package being maintained? #31

Open
dandv opened this issue May 28, 2020 · 3 comments
Open

Is this package being maintained? #31

dandv opened this issue May 28, 2020 · 3 comments

Comments

@dandv
Copy link

dandv commented May 28, 2020

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

@dandv
Copy link
Author

dandv commented May 28, 2020

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

@adrienv1520
Copy link

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.

@AuracleTech
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants