Email package provides functionality to generate a fake email value.
npm
npm install @fakerjs/email --save-dev
yarn
yarn add @fakerjs/email -D
import email from '@fakerjs/email';
email();
//=> itiwuhilacupi@panetoc.services
email({domain: 'example.com'})
//=> rad@example.com
Run tests
npm run test
The MIT License (MIT) Copyright (c) Sergey Romanenko