Generate username from email
It generates a username from the email provided, which helps to ease our signup process and many more things in your application where you user username to identify a user.
😁🙌 It's my first package while learning to publish on NPM 😁🙌
Installation and Usage
- Install from npm
npm i generate-username-from-email
- Import in you application
const generateUsername =
- Use wherever you want!
var email = "firstname.lastname@example.org"var username =console//Output: patidarparas13