is-url
Loosely validate a URL.
Installation
$ component install segmentio/is-url
API
isUrl(string, stricter)
Loosely checks whether string
is a URL. Optionally you can make the matching stricter
, for example to not let google.com
slide.
License
MIT