Skip to content

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.

License

Notifications You must be signed in to change notification settings

patidarparas13/generate-username-from-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

issues forks stars

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 = require('generate-username-from-email')
  • Use wherever you want!
var email = "patidarparas13@gmail.com"
var username = generateUsername(email)
console.log(username)
//Output: patidarparas13

Thank You!

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published