email-generator

Creates random & unique email to be used in automated test


Keywords
random, email, generator, unique, creator
License
MIT
Install
npm install email-generator@1.0.1

Documentation


automationpi :)

This package can help you with generating unlimited random emails. Best use for this can be for creating input for your automated tests where you may need email as an input.


Getting started

npm install email-generator

Using email-generator

const emails = require('email-generator');


console.log(emails.generateEmail());
console.log(emails.generateEmail());
console.log(emails.generateEmail());
console.log(emails.generateEmail());
console.log(emails.generateEmail());
console.log(emails.generateEmail());
console.log(emails.generateEmail());

Ouput

>node app.js
{ email: 'markel.hochhalter21081@hello.to' }
{ email: 'charles.schmitt73636@mail2virginia.com' }
{ email: 'emmitt.schoenbauer96980@bimamail.com' }
{ email: 'gordon.stiers80572@careerbuildermail.com' }
{ email: 'alden.summerour22432@boxemail.com' }
{ email: 'rex.tarsi50361@mail2rage.com' }
{ email: 'lucious.palfi19877@mail2psychiatrist.com' }

#reusenotreinvent