2017-05-28 00:38:50 +02:00
|
|
|
# is-url
|
|
|
|
|
2018-09-20 02:56:13 +02:00
|
|
|
Check whether a string is a URL.
|
2017-05-28 00:38:50 +02:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2018-09-20 02:56:13 +02:00
|
|
|
```sh
|
|
|
|
npm install is-url
|
2017-05-28 00:38:50 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
2018-09-20 02:56:13 +02:00
|
|
|
### `isUrl(string)`
|
2017-05-28 00:38:50 +02:00
|
|
|
|
2018-09-20 02:56:13 +02:00
|
|
|
Returns a Boolean indicating whether `string` is a URL.
|
2017-05-28 00:38:50 +02:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
2018-09-20 02:56:13 +02:00
|
|
|
MIT
|