unique-username-generator
unique-username-generator copied to clipboard
uniqueUsernameGenerator fixes and enhancements
Multiple changes:
- Simplified uniqueUsernameGenerator length and added tests
- (BREAKING) Fixed a bug in randomNumber, missing the last stretch (e.g. [91-99]). Simplified randomNumber
- Added new styles camelCase and pascalCase
- (BREAKING) Changed uniqueUsernameGenerator default behaviour to filter all dictionaries out of entries containing the separator. If a dictionary turns empty, throw an error.
- Removed a faulty test case. The test wrongly assumed that the default dictionaries contain no dash '-'







