Coder Social home page Coder Social logo

rootdomain-cli's Introduction

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.

Notes

Did you found a bug? Or did you have some recomendations? Or may be you just need some helps? Please raise an issue.

rootdomain-cli's People

Contributors

kucingbasah737 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.