is-uri

Determinate if a string is a valid URI.

MIT License

Downloads
114.1K
Stars
0
Committers
5

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

Package Rankings
Top 5.66% on Npmjs.org
Badges
Extracted from project README
Coverage Status NPM Status