Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

validateDomains

Reads in a list of domains from stdin and outputs those with a valid TLD according the latest list from ICANN.

Installation

Assuming you have Go installed you can run the following:

go install github.com/cybercdh/validateDomains@latest

Usage

echo foo.example.com | validateDomains
or
cat domains.txt | validateDomains

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Reads in a list of domains and prints those which have a valid TLD

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages