-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
26 lines (25 loc) · 999 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*var s = new Date(parseInt(496407600)*1000).toLocaleDateString('de', {
day: '2-digit',
month: '2-digit',
year: 'numeric'
}).replace(/\./g, '/');
*/
/*
var generator = require("creditcard-generator");
console.log(
generator.GenCC("Mastercard", 1, Math.random)
)
*/
//var merchandiseTVSpotText = "$(date.now.value suffix : this)-$(date.random suffix : format, min : 20200901) $(date.random)";
//var merchandiseTVSpotText = "$(date.week)";
var Muenchhausen = require("./lib/index.js");
var muenchhausen = new Muenchhausen("en-GB");
//var news = muenchhausen.render(merchandiseTVSpotText);
//
//console.log(muenchhausen.fake.date.now({}).text());
//console.log(muenchhausen.fake.date.weekday().text());
//console.log(muenchhausen.fake.number.random({}).text());
//console.log(muenchhausen.fake.person.firstname({gender:"female"}).text());
console.log(muenchhausen.render("$(address.random)$(address.street)"));
muenchhausen.fake.address.random({});
console.log(muenchhausen.fake.address.street({}));