npm.io
1.2.14 • Published 3 months ago

is-uri

Licence
MIT
Version
1.2.14
Deps
2
Size
5 kB
Vulns
0
Weekly
0

is-uri

Last version Coverage Status NPM Status

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.

  • parse-uri – Lightweight module for parse an URI.

License

MIT Kiko Beats

Keywords