Package detail

is-uri

kikobeats182.5kMIT1.2.7

Determinate if a string is a valid URI.

invalid, is, parse, uri

readme

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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.2.7 (2025-04-03)

1.2.6 (2023-10-24)

1.2.5 (2023-09-05)

1.2.4 (2022-03-02)

1.2.3 (2022-02-25)

1.2.2 (2022-02-04)

1.2.1 (2022-02-04)

1.2.0 (2016-02-09)

  • Support provide a URI Object (81892ec)

1.1.0 (2016-02-09)

1.0.0 (2016-02-04)