@ptkhanh94npm/aliquid-praesentium-unde
v1.0.0
Published
Generate variants of a word following different strategies that are commonly used in order to create a password. This project does not aims to produce an exaustive output but a set of probable values instead. Some of the strategies used to generate are: c
Downloads
3
Maintainers
Readme
@ptkhanh94npm/aliquid-praesentium-unde
Generate variants of a word following different strategies that are commonly used in order to create a password. This project does not aims to produce an exaustive output but a set of probable values instead. Some of the strategies used to generate are: capitalization, upper case, camel case and leet speaking.
Installation
npm install -g @ptkhanh94npm/aliquid-praesentium-unde
Usage
$ @ptkhanh94npm/aliquid-praesentium-unde -h
Usage: @ptkhanh94npm/aliquid-praesentium-unde [options]
Options:
-h, --help Show this help message and exit.
-v, --version Show the version and exit.
-w, --words [string] One or multiple words comma separated
-m, --min [number] Minimum length (default: 0)
-M, --max [number] Max length (default: 80)
$ @ptkhanh94npm/aliquid-praesentium-unde -w password
password
pAsSwOrD
Password
pa55word
p4ssw0rd
...
97P455w0rD
98P455w0rD
99P455w0rD
@P455w0rD
@@P455w0rD
$ @ptkhanh94npm/aliquid-praesentium-unde -w password | wc -l
64360
If the -w
option is not provided, the program will read from the standard input.
$ cat interesting_words.txt | @ptkhanh94npm/aliquid-praesentium-unde
It can also be used an imported library:
const @ptkhanh94npm/aliquid-praesentium-unde = require('@ptkhanh94npm/aliquid-praesentium-unde')
console.log(@ptkhanh94npm/aliquid-praesentium-unde({words: 'password', max: 4}))
License
MIT License
Copyright (c) 2019 patrickrbc
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.