random-email

1.0.3 • Public • Published

random-email

Return a random email address.

MIT License

build:? coverage:?

Install

$ npm install --save random-email

Usage

For more use-cases see the tests

var randomEmail = require('random-email');
 
// API
// - randomEmail([options]);
 
// options
// - domain

Return a random email with a random domain.

randomEmail();
// => 'kawip@piklojzob.gov'

Optionally specify a domain and the email will be random but the domain will not.

randomEmail({ domain: 'example.com' });
// => 'giigjom@example.com'

Related

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    11,731
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    11,731
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i random-email

Weekly Downloads

11,731

Version

1.0.3

License

MIT

Last publish

Collaborators

  • bubkoo