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