1.1.2 • Published 2 years ago
@scottricity/rstring v1.1.2
rstring
Generate a random string.
Installation
You can download the rstring.exe
directly OR you can do the following;
$ git clone https://github.com/scottricity/rstring.git
$ cd rstring
$ npm run build
How to
$ rstring [size]
- If
size
is omitted, it will choose a random size between 12 and 30, or else it will be the size entered - Will generate a random string
$ rstring [size] [args]
- Args include;
-l | Include lower case letters | abcdefghijklmnopqrstuvwxyz |
-u | Include upper case letters | ABCDEFGHIJKLMNOPQRSTUVWXYZ |
-n | Include numbers | 1234567890 |
-s | Include special characters | !@#$%^&\*(){}`~/;. |
Usage
⚠️ Results are random.
$ rstring
Result: ZaPNTx@0k&.tyleXI9.n~5/.BB$.nW
$ rstring 26
Result: ~OM!D.{Zanqi4M.A*rko)NQwG#
$ rstring 26 -l
Result: ayhwzacflnvulujcatrdekhcud