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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i is-url

    Weekly Downloads

    3,442,647

    Version

    1.2.4

    License

    MIT

    Unpacked Size

    6.58 kB

    Total Files

    7

    Last publish

    Collaborators

    • segmentio
    • zeke