segmentio/is-url — pull request #2 by zeke (2014-01-20 06:45:14+00:00)
Title: House cleaning and support for more protocols/schemes

```
is-url
valid
✓ http://google.com
✓ https://google.com
✓ ftp://google.com
✓ http://www.google.com
✓ http://google.com/something
✓ http://google.com?q=query
✓ http://google.com#hash
✓ http://google.com/something?q=query#hash
✓ http://google.co.uk
✓ http://www.google.co.uk
✓ http://google.cat
✓ https://d1f4470da51b49289906b3d6cbd65074@app.getsentry.com/13176
✓ http://0.0.0.0
✓ http://localhost
✓ postgres://u:p@example.com:5702/db
✓ redis://:123@174.129.42.52:13271
✓ mongodb://u:p@example.com:10064/db
✓ ws://chat.example.com/games
✓ wss://secure.example.com/biz
✓ http://localhost:4000
invalid
✓ http://
✓ http://google
✓ http://google.
✓ google
✓ google.com
```