Generator to generate animals.
Living creature with the ability to move, eat, and interact with its environment.
a random animal
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.animal())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.animal())}
Output (formatted as JSON value)
"crow" Copy
"crow"
Type of animal, such as mammals, birds, reptiles, etc..
a random animal type
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.animalType())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.animalType())}
"amphibians" Copy
"amphibians"
Distinct species of birds.
a random bird
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.bird())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.bird())}
"lovebird" Copy
"lovebird"
Various breeds that define different cats.
a random cat
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.cat())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.cat())}
"Toyger" Copy
"Toyger"
Various breeds that define different dogs.
a random dog
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.dog())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.dog())}
"Staffordshire Bullterrier" Copy
"Staffordshire Bullterrier"
Animal name commonly found on a farm.
a random farm animal
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.farmAnimal())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.farmAnimal())}
"Cow" Copy
"Cow"
Affectionate nickname given to a pet.
a random pet name
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.petName())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.animal.petName())}
"Nacho" Copy
"Nacho"
Generator to generate animals.