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.
- Host: GitHub
- URL: https://github.com/craigmc08/url-validate
- Owner: craigmc08
- Created: 2017-11-01T14:41:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T10:32:50.000Z (over 8 years ago)
- Last Synced: 2025-02-08T16:15:57.743Z (over 1 year ago)
- Topics: url, url-validation
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.