Last 12 weeks · 0 commits
4 of 6 standards met
Although this might be technically correct (?), it seems like it's not what most people would think of as an absolute URL, and it could lead to a false sense of security that the input has been validated as a 'real' URL. Possible solutions: Release a new major version that ensures the protocol is or Maybe with an option like for people who want the old behaviour. Or just add a warning in the readme that this will return true for any protocol, even .
Repository: sindresorhus/is-absolute-url. Description: Check if a URL is absolute Stars: 80, Forks: 14. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v5.0.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, alexbrasetvik, andybelltree, morellodev, BendingBender, kevva, KyleAMathews, Richienb.