1.0.3 • Published 4 months ago

rootdomain-cli v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

rootdomain-cli

Version npm node.js version js-semistandard-style

Read hostname list from STDIN and dump root-domains on STDOUT.

This package intended to call from CLI.

BEWARE, this tool writen under influence of a bottle of vodka.

vodka meme

Requirements

  • node.js >= 16.x

How to install

sudo npm i --global rootdomain-cli

Usage

Create a file that contains hostname list to convert. Let say it's name is 'hostnames.txt'. Just run this:

cat hostnames.txt | rootdomain-cli

For more parameters, just run

rootdomain-cli --help
Options:
  --help               Show help                                       [boolean]
  --version            Show version number                             [boolean]
  --exclude-non-icann  Exclude domain whose not a valid ICANN TLD
                                                      [boolean] [default: false]
  --exclude-private    Exclude private domain from result
                                                      [boolean] [default: false]
  --sort               Sort result using hostname natural order
                                                      [boolean] [default: false]

License

Licensed under MIT License. See LICENSE file.

1.0.3

4 months ago

1.0.0

4 months ago

0.0.2

4 months ago