Skip to content

Instantly share code, notes, and snippets.

@EmmanuelDemey
Created March 11, 2024 15:24
Show Gist options
  • Save EmmanuelDemey/598193c768bacf75bd01b873c2d5e1bc to your computer and use it in GitHub Desktop.
Save EmmanuelDemey/598193c768bacf75bd01b873c2d5e1bc to your computer and use it in GitHub Desktop.
[
"{{repeat(3, 3)}}",
{
"isActive": "{{bool()}}",
"balance": "{{floating(1000, 4000, 2, \"$0,0.00\")}}",
"picture": "http://placehold.it/32x32",
"age": "{{integer(20, 40)}}",
"eyeColor": "{{random(\"blue\", \"brown\", \"green\")}}",
"name": "{{firstName()}} {{surname()}}",
"gender": "{{gender()}}",
"company": "{{company().toUpperCase()}}",
"email": "{{email()}}",
"phone": "+1 {{phone()}}",
"address": "{{integer(100, 999)}} {{street()}}, {{city()}}, {{state()}}, {{integer(100, 10000)}}",
"about": "{{lorem(1, \"paragraphs\")}}",
"registered": "{{date(new Date(2014, 0, 1), new Date(), \"YYYY-MM-dd\")}}",
"location": {
"lat": "{{floating(48.866667, 90)}}",
"lon": "{{floating(2.333333, 180)}}"
},
"tags": ["{{repeat(7)}}", "{{lorem(1, \"words\")}}"],
"friends": [
"{{repeat(3)}}",
{
"id": "{{index()}}",
"name": "{{firstName()}} {{surname()}}"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment