1.2.6 • Published 6 months ago

is-uri v1.2.6

Weekly downloads
21,743
License
MIT
Repository
github
Last release
6 months ago

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.

Related

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

License

MIT © Kiko Beats