Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskg committed Jun 2, 2023
1 parent 2024be1 commit 63373e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ randomstring.generate({
});
// >> "accbaabbbbcccbccccaacacbbcbbcbbc"

randomstring.generate({
charset: ['numeric', '!']
});
// >> "145132!87663611567!2486211!07856"

randomstring.generate({
charset: 'abc'
}, cb);
Expand All @@ -57,6 +62,7 @@ randomstring.generate({
- `binary` - [01]
- `octal` - [0-7]
- `custom` - any given characters
- `[]` - An array of any above
- `capitalization` - define whether the output should be lowercase / uppercase only. (default: null) [OPTIONAL]
- `lowercase`
- `uppercase`
Expand Down

0 comments on commit 63373e8

Please sign in to comment.