Closed chris-t-reilly closed 9 years ago
Exposing that would be leaky abstraction.
@kevva I see no reason for doing such a strict check on the input. Maybe add a loose
mode option in is-url-superb
that download
could use which allowed any kind of domain?
Yes, that's much better API-wise.
Would probably need to add it in url-regex
first.
The is_url_superb package throws an error when dealing with domains defined on the local intranet (example .local domains). Can I suggest/contribute a validateURL option?