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

1.2.4 • Public • Published

is-url

Check whether a string is a URL.

Installation

npm install is-url

API

isUrl(string)

Returns a Boolean indicating whether string is a URL.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.4
    3,138,038
    • latest

Version History

Package Sidebar

Install

npm i is-url

Weekly Downloads

3,170,554

Version

1.2.4

License

MIT

Unpacked Size

6.58 kB

Total Files

7

Last publish

Collaborators

  • segmentio
  • zeke