is-uri
v1.2.6
Published
Determinate if a string is a valid URI.
Downloads
118,638
Readme
is-uri
Determinate if a string is a valid URI. Based in uri but works out of the box and improved.
Install
$ npm install is-uri --save
Usage
var isUri = require('is-uri')
isUri('http://google.com') //=> true
API
isUri(str, [options])
options
are passed to parse-uri module.
Related
- parse-uri – Lightweight module for parse an URI.
License
MIT © Kiko Beats