Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rootdomain-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rootdomain-cli

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

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 06 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc