Skip to content

Animal

Module to generate animal related entries.

Overview

For a general type of animal (e.g. 'dog'), use type().

Otherwise, use one of the more specific methods, such as cat() for a specific breed of cat.

All values may be localized.

bear

Returns a random bear species.

Available since v5.5.0

Returns: string

ts
function bear(): string;

Examples

ts
faker.animal.bear() // 'Asian black bear'

bird

Returns a random bird species.

Available since v5.5.0

Returns: string

ts
function bird(): string;

Examples

ts
faker.animal.bird() // 'Buller's Shearwater'

cat

Returns a random cat breed.

Available since v5.5.0

Returns: string

ts
function cat(): string;

Examples

ts
faker.animal.cat() // 'Singapura'

cetacean

Returns a random cetacean species.

Available since v5.5.0

Returns: string

ts
function cetacean(): string;

Examples

ts
faker.animal.cetacean() // 'Spinner Dolphin'

cow

Returns a random cow species.

Available since v5.5.0

Returns: string

ts
function cow(): string;

Examples

ts
faker.animal.cow() // 'Brava'

crocodilia

Returns a random crocodilian species.

Available since v5.5.0

Returns: string

ts
function crocodilia(): string;

Examples

ts
faker.animal.crocodilia() // 'Philippine Crocodile'

dog

Returns a random dog breed.

Available since v5.5.0

Returns: string

ts
function dog(): string;

Examples

ts
faker.animal.dog() // 'Irish Water Spaniel'

fish

Returns a random fish species.

Available since v5.5.0

Returns: string

ts
function fish(): string;

Examples

ts
faker.animal.fish() // 'Mandarin fish'

horse

Returns a random horse breed.

Available since v5.5.0

Returns: string

ts
function horse(): string;

Examples

ts
faker.animal.horse() // 'Swedish Warmblood'

insect

Returns a random insect species.

Available since v5.5.0

Returns: string

ts
function insect(): string;

Examples

ts
faker.animal.insect() // 'Pyramid ant'

lion

Returns a random lion species.

Available since v5.5.0

Returns: string

ts
function lion(): string;

Examples

ts
faker.animal.lion() // 'Northeast Congo Lion'

petName

Returns a random pet name.

Available since v9.2.0

Returns: string

ts
function petName(): string;

Examples

ts
faker.animal.petName() // 'Coco'

rabbit

Returns a random rabbit species.

Available since v5.5.0

Returns: string

ts
function rabbit(): string;

Examples

ts
faker.animal.rabbit() // 'Florida White'

rodent

Returns a random rodent breed.

Available since v7.4.0

Returns: string

ts
function rodent(): string;

Examples

ts
faker.animal.rodent() // 'Cuscomys ashanika'

snake

Returns a random snake species.

Available since v5.5.0

Returns: string

ts
function snake(): string;

Examples

ts
faker.animal.snake() // 'Eyelash viper'

type

Returns a random animal type.

Available since v5.5.0

Returns: string

ts
function type(): string;

Examples

ts
faker.animal.type() // 'crocodile'

Released under the MIT License.