Skip to content

Animal

Module to generate animal related entries.

bear

Returns a random bear species.

Returns: string

ts
faker.animal.bear(): string
faker.animal.bear() // => "American black bear"
faker.animal.bear() // 'Asian black bear'

bird

Returns a random bird species.

Returns: string

ts
faker.animal.bird(): string
faker.animal.bird() // => "Acorn Woodpecker"
faker.animal.bird() // 'Buller's Shearwater'

cat

Returns a random cat breed.

Returns: string

ts
faker.animal.cat(): string
faker.animal.cat() // => "Norwegian Forest Cat"
faker.animal.cat() // 'Singapura'

cetacean

Returns a random cetacean species.

Returns: string

ts
faker.animal.cetacean(): string
faker.animal.cetacean() // => "Fraser’s Dolphin"
faker.animal.cetacean() // 'Spinner Dolphin'

cow

Returns a random cow species.

Returns: string

ts
faker.animal.cow(): string
faker.animal.cow() // => "Kostroma cattle"
faker.animal.cow() // 'Brava'

crocodilia

Returns a random crocodilian species.

Returns: string

ts
faker.animal.crocodilia(): string
faker.animal.crocodilia() // => "Morelet’s Crocodile"
faker.animal.crocodilia() // 'Philippine Crocodile'

dog

Returns a random dog breed.

Returns: string

ts
faker.animal.dog(): string
faker.animal.dog() // => "Kuvasz"
faker.animal.dog() // 'Irish Water Spaniel'

fish

Returns a random fish species.

Returns: string

ts
faker.animal.fish(): string
faker.animal.fish() // => "Hilsa shad"
faker.animal.fish() // 'Mandarin fish'

horse

Returns a random horse breed.

Returns: string

ts
faker.animal.horse(): string
faker.animal.horse() // => "M'Par"
faker.animal.horse() // 'Swedish Warmblood'

insect

Returns a random insect species.

Returns: string

ts
faker.animal.insect(): string
faker.animal.insect() // => "Mossyrose gall wasp"
faker.animal.insect() // 'Pyramid ant'

lion

Returns a random lion species.

Returns: string

ts
faker.animal.lion(): string
faker.animal.lion() // => "Northeast Congo Lion"
faker.animal.lion() // 'Northeast Congo Lion'

rabbit

Returns a random rabbit species.

Returns: string

ts
faker.animal.rabbit(): string
faker.animal.rabbit() // => "Havana"
faker.animal.rabbit() // 'Florida White'

rodent

Returns a random rodent breed.

Returns: string

ts
faker.animal.rodent(): string
faker.animal.rodent() // => "Indian porcupine"
faker.animal.rodent() // 'Cuscomys ashanika'

snake

Returns a random snake species.

Returns: string

ts
faker.animal.snake(): string
faker.animal.snake() // => "Selayer reticulated python"
faker.animal.snake() // 'Eyelash viper'

type

Returns a random animal type.

Returns: string

ts
faker.animal.type(): string
faker.animal.type() // => "crocodilia"
faker.animal.type() // 'crocodilia'

Released under the MIT License.