Package Exports
- random-email
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (random-email) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
random-email
Return a random email address.
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
- random-tld - Return a random tld(Top Level Domain).
- random-domains - Return a random domain.
- random-protocol - Return a random protocol.
- random-hashtag - Return a random hashtag.
- random-uri - Return a random url.
- random-ipv4 - Return a random ipv4 address.
- random-ipv6 - Return a random ipv6 address.
- random-avatar - Return a URL to a random avatar from Gravatar.
Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.