is-url
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-url package

0.0.1 • Public • Published

is-url

Loosely validate a URL.

Installation

$ component install segmentio/is-url

API

isUrl(string, stricter)

Loosely checks whether string is a URL. Optionally you can make the matching stricter, for example to not let google.com slide.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i is-url@0.0.1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • segmentio
  • zeke