An open API service indexing awesome lists of open source software.

https://github.com/craigmc08/url-validate

Validates URLs.
https://github.com/craigmc08/url-validate

url url-validation

Last synced: over 1 year ago
JSON representation

Validates URLs.

Awesome Lists containing this project

README

          

# url-validate
Validates URLS.

### Example
```js
const validateURL = require('url-validate');

validateURL('https://google.com');
// Returns true

validateURL('google.com');
// Returns true

validateURL('192.168.1.1');
// Returns true
```
Does not support ports (such as `google.com:8080`), yet.