Skip to content

Instantly share code, notes, and snippets.

@FotoVerite
Forked from Marak/card.js
Created May 16, 2010 06:35
Show Gist options
  • Save FotoVerite/402712 to your computer and use it in GitHub Desktop.
Save FotoVerite/402712 to your computer and use it in GitHub Desktop.
var Faker = require('../Faker');
return {
"name":Faker.Name.findName(),
"username":Faker.Internet.userName(),
"email":Faker.Internet.email(),
"address":{
"streetA":Faker.Address.streetName(),
"streetB":Faker.Address.streetAddress(),
"streetC":Faker.Address.streetAddress(true),
"streetD":Faker.Address.secondaryAddress(),
"city":Faker.Address.city(),
"ukCounty":Faker.Address.ukCounty(),
"ukCountry":Faker.Address.ukCountry(),
"zipcode":Faker.Address.zipCode()
},
"phone":Faker.PhoneNumber.phoneNumber(),
"website":Faker.Internet.domainName(),
"company":{
"name":Faker.Company.companyName(),
"catchPhrase":Faker.Company.catchPhrase(),
"bs":Faker.Company.bs(),
},
"posts":[
{
"words":Faker.Lorem.words(),
"sentence":Faker.Lorem.sentence(),
"sentences":Faker.Lorem.sentences(),
"paragraph":Faker.Lorem.paragraph()
},
{
"words":Faker.Lorem.words(),
"sentence":Faker.Lorem.sentence(),
"sentences":Faker.Lorem.sentences(),
"paragraph":Faker.Lorem.paragraph()
},
{
"words":Faker.Lorem.words(),
"sentence":Faker.Lorem.sentence(),
"sentences":Faker.Lorem.sentences(),
"paragraph":Faker.Lorem.paragraph()
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment