@elgervb/mock-data
Version:
Mock data made easy, while maintaining type safety
10 lines • 395 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.randomEmail = void 0;
var string_1 = require("./string");
function randomEmail(tld) {
if (tld === void 0) { tld = 'com'; }
return "".concat((0, string_1.randomString)(4), "@").concat((0, string_1.randomString)(8), ".").concat(tld);
}
exports.randomEmail = randomEmail;
//# sourceMappingURL=email.js.map
;