Easily create usernames with positive adjectives, like 'happy-charles'.
How to use
yarn add positive-usernames
Import into your code
const getUsername =
And use like so:
const username =// energetic-sam
This package will also check to see if you have passed in an email address, and if so if will trim it. So 'firstname.lastname@example.org' will become 'jennifer'. No rocket science here, i'm afraid.
Any updates are welcome - create a MR in the repository