email-generator
v1.0.1
Published
Creates random & unique email to be used in automated test
Downloads
660
Maintainers
Readme
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 protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
#reusenotreinvent