https://github.com/b4dnewz/node-typosquotting-cli
Command line module for node-typosquotting
https://github.com/b4dnewz/node-typosquotting-cli
cli-tool cli-utility node-typosquotting typography typosquatting typosquotter
Last synced: 12 months ago
JSON representation
Command line module for node-typosquotting
- Host: GitHub
- URL: https://github.com/b4dnewz/node-typosquotting-cli
- Owner: b4dnewz
- License: mit
- Created: 2019-03-26T08:40:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T08:55:34.000Z (almost 7 years ago)
- Last Synced: 2025-02-12T13:17:40.882Z (about 1 year ago)
- Topics: cli-tool, cli-utility, node-typosquotting, typography, typosquatting, typosquotter
- Language: JavaScript
- Size: 112 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typosquotter-cli
> Generate typosquotted domain names from the command line
This package provide the command line utility for [typosquotter](https://github.com/b4dnewz/node-typosquotting) module.
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Project License][license-image]][license-url]
## 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](https://github.com/b4dnewz/clito) that has built-in usage help, so type `--help` to know how it works in details and to see all the possible options.
---
## License
This package is under [MIT](LICENSE) license © [b4dnewz](https://b4dnewz.github.io/)
[npm-image]: https://badge.fury.io/js/typosquotter-cli.svg
[npm-url]: https://npmjs.org/package/typosquotter-cli
[travis-image]: https://travis-ci.org/b4dnewz/node-typosquotting-cli.svg?branch=master
[travis-url]: https://travis-ci.org/b4dnewz/node-typosquotting-cli
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg
[license-url]: https://github.com/b4dnewz/node-typosquotting-cli/blob/master/LICENSE