checkif.js icon indicating copy to clipboard operation
checkif.js copied to clipboard

Add support for 'is.uri'

Open joeltankam opened this issue 6 years ago • 3 comments

Checks if the given value is an uri.

is.uri('http://www.test.com'); // true
is.uri('ftp://www.test.com'); // true
is.uri('https://www.test.com:8081?foo=bar'); // true
is.uri('test'); // false

Checkout full uri description on wikipedia. uri syntax diagram

Update README.md: under is > RegExp

joeltankam avatar Oct 10 '18 00:10 joeltankam

i would like to help with this

beast911 avatar Oct 18 '18 09:10 beast911

Feel free to contribute

joeltankam avatar Oct 18 '18 09:10 joeltankam

I have raised a PR for this. Kindly check

beast911 avatar Oct 20 '18 07:10 beast911