0.1.0 • Published 3 years ago
is-web-address v0.1.0
is-web-address
Install
yarn add is-web-address
Or
npm i is-web-address
List of valid and invalid web address that we have cover.
- (2ms)
- example.com.
- example..com (1ms)
- example...com.
- 192.168.1..0
- https://example.com.
- https://example..com
- https://example...com.
- example.com
- 192.168.1.1
- http://192.168.1.1
- http://example.com
- http://example.com/
- http://example.com:8080
- http://example.com/hello-world (1ms)
- example.com/search?q=hello+world
- http://example.com/very-long/path/and?it=should&be=works&too=true
- http://192.168.1.1/very-long/path/and?it=should&be=works&too=true
0.1.0
3 years ago