generate-username-from-email

    1.0.2 • Public • Published

    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!

    Install

    npm i generate-username-from-email

    DownloadsWeekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    2.88 kB

    Total Files

    4

    Last publish

    Collaborators

    • patidarparas13