Last 12 weeks · 0 commits
4 of 6 standards met
Repository: sindresorhus/is-url-superb. Description: Check if a string is a URL Stars: 87, Forks: 7. Primary language: JavaScript. Languages: JavaScript (84%), TypeScript (16%). License: MIT. Latest release: v6.1.0 (4y ago). Open PRs: 1, open issues: 0. Last activity: 2y ago. Community health: 85%. Top contributors: sindresorhus, kevva, brandon93s, BendingBender, felladrin.
!2a8228e709d662ed9f244b4a6731d97b
Fixes #11 in a bit different way of how it was being discussed. Instead of using https://github.com/sindresorhus/prepend-http, it will first try , as usual, cause it already covers all valid cases. And only if it fails, it checks if lenient mode is enabled; if so, it checks if prepending the protocol makes the input a valid url. This way we keep the logic simple and avoid adding a dependency to the package. What do you think?