typosquotter-cli
Generate typosquotted domain names from the command line
This package provide the command line utility for typosquotter module.
Installation
First of all you have to install it as a global module:
$ npm install -g typosquotter-cli
Than you will have access to the command from your terminal:
$ typosquotter --help
You can also use npx if you want to test it out or quickly use it without having to install it:
$ npx typosquotter-cli --help
Usage
The simplest usage it's to pass in a domain name and it will print out the typosquotted domain grouped by technique name:
$ typosquotter youtube.com
repetition: [
'yyoutube.com',
'yooutube.com',
'youutube.com',
'youttube.com',
'youtuube.com',
'youtubbe.com',
'youtubee.com'
],
subdomain: [
'y.outube.com',
'yo.utube.com',
'you.tube.com',
'yout.ube.com',
'youtu.be.com',
'youtub.e.com'
],
switching: [
'oyutube.com',
'yuotube.com',
'yotuube.com',
'youutbe.com',
'youtbue.com',
'youtueb.com'
],
tld: [
'youtube.ac',
'youtube.ad',
'youtube.ae',
...
You can also save the result to a file in your system:
$ typosquotter youtube.com --write
The cli it's built with clito that has built-in usage help, so type --help
to know how it works in details and to see all the possible options.