Skip to content

Commit

Permalink
Merge pull request #24 from forinda/forinda-patch-8
Browse files Browse the repository at this point in the history
Update index.md
  • Loading branch information
forinda authored Jun 5, 2022
2 parents 1ee3529 + 5898da9 commit aa13ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ Still the modules can be imported from the main package
+ import {lowerCaseLetters,numbers,symbols,upperCaseLetters} from "string-shuffle";

- const { alphabet, lowerCaseLetters, numbers, symbols, upperCaseLetters } = alphabets();

- console.log(alphabet.join("")); //ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!"#$%&'()*+,-./

console.log(lowerCaseLetters.join("")); //abcdefghijklmnopqrstuvwxyz
Expand Down Expand Up @@ -108,6 +107,7 @@ Disclaimer: Use this at your own risk. It's here for mock apps or just simple pr
import { generateUnshuffledPassword } from "string-shuffle";

console.log(generateUnshuffledPassword({})); // ey99

console.log(generateUnshuffledPassword({ lower: 1, upper: 2, num: 3, symb: 4 })); // pRI.##*369

console.log(generateUnshuffledPassword({ lower: 2, upper: 2, num: 2, symb: 2 })); // jmKE"+89
Expand Down

0 comments on commit aa13ee4

Please sign in to comment.