domaingistry

A Simple Domain Name Generation Package and CLI

Usage no npm install needed!

<script type="module">
  import domaingistry from 'https://cdn.skypack.dev/domaingistry';
</script>

README

DomainGistry - A Domain Name Generation CLI

DomainGistry is a domain name generation package and CLI.

It's still in the early stages, so we're very interested in bug reports, contributions and the like.

Requirements

  • nodejs
  • commander.js
  • chalk.js

Installation

Method 1

  • Using NPM
npm install domaingistry

Method 2

  • Download repository on github
  • Change into repository
  • Type the following to install
npm install 

Usage As A CLI

Local Usage As A CLI

nodejs domaingistry.js --help

Global Usage As A CLI

domaingistry --help

Generating Domain Names

  • Generate the domain name, shows you the common domain name generated, saves to a json file
domaingistry generate yourdomainname

or

domaingistry generate "yourdomainname"
Screenshot

Generating Domain Names By Category

  • [Common | Extra | New | Prefixed | Suffixed]
  • Generate the domain name per category and show it on the console

Get Common Domain Names[.com,.org]

domaingistry get-common "yourdomain name"

Get New Domain Names[.ai,.io]

domaingistry get-new "yourdomain name"

Get Extra Domain Names[.tv,.media]

domaingistry get-extra "yourdomain name"

Get Prefixed Domain Names[myexample.com,theexample.com]

domaingistry get-prefix "yourdomain name"

Get Suffixed Domain Names[exampleworld.com,examplify.com]

domaingistry get-suffix "yourdomain name"

Get Sub Domain Names[blog.example.com,support.example.com]

domaingistry get-subdomain "yourdomain name"

Get All Domain Names

domaingistry get-all "yourdomain name"

Usage As A Package

Example 1

const Domain = require('domaingistry');

var domain1 = new Domain('yourdomainname','common')

console.log(domain1.generate())
Example 2

const Domain = require('domaingistry');

var domain2 = new Domain();

domain2.name = 'example';

domain2.category = 'extra';

console.log(domain2.generate())

Generating Domain Names By Categories[common,new,extra,prefix,suffix,subdomain]


console.log(domain1.getCommon());

console.log(domain1.getNew());

console.log(domain1.getExtra());

console.log(domain1.getPrefix());

console.log(domain1.getSuffix());

console.log(domain1.getSubDomain());


Saving All Results of Categories to JSON

  • This creates a file with all the various categories of domain names generated in a json file

var Domain = require('domaingistry');

var domain = new Domain("example");

domain.to_json()

Author

  • Jesse E.Agbe(JCharis)
  • Jesus Saves@JCharisTech