Skip to content
On this page

Animal

Module to generate animal related entries.

bear

Returns a random bear species.

Available since v5.5.0

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.

Available since v5.5.0

Returns: string

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

cat

Returns a random cat breed.

Available since v5.5.0

Returns: string

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

cetacean

Returns a random cetacean species.

Available since v5.5.0

Returns: string

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

cow

Returns a random cow species.

Available since v5.5.0

Returns: string

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

crocodilia

Returns a random crocodilian species.

Available since v5.5.0

Returns: string

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

dog

Returns a random dog breed.

Available since v5.5.0

Returns: string

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

fish

Returns a random fish species.

Available since v5.5.0

Returns: string

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

horse

Returns a random horse breed.

Available since v5.5.0

Returns: string

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

insect

Returns a random insect species.

Available since v5.5.0

Returns: string

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

lion

Returns a random lion species.

Available since v5.5.0

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.

Available since v5.5.0

Returns: string

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

rodent

Returns a random rodent breed.

Available since v7.4.0

Returns: string

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

snake

Returns a random snake species.

Available since v5.5.0

Returns: string

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

type

Returns a random animal type.

Available since v5.5.0

Returns: string

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

Released under the MIT License.