Animal
Module to generate animal related entries.
- Bear
- Bird
- Cat
- Cetacean
- Cow
- Crocodilia
- Dog
- Fish
- Horse
- Insect
- Lion
- Rabbit
- Snake
- Type
Bear
Returns a random bear species.
Returns: string
// bear function
animal.bear(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.bear(); // => "American black bear"
animal.bear(); // 'Asian black bear'
Bird
Returns a random bird species.
Returns: string
// bird function
animal.bird(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.bird(); // => "Acorn Woodpecker"
animal.bird(); // 'Buller's Shearwater'
Cat
Returns a random cat breed.
Returns: string
// cat function
animal.cat(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.cat(); // => "Norwegian Forest Cat"
animal.cat(); // 'Singapura'
Cetacean
Returns a random cetacean species.
Returns: string
// cetacean function
animal.cetacean(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.cetacean(); // => "Fraser’s Dolphin"
animal.cetacean(); // 'Spinner Dolphin'
Cow
Returns a random cow species.
Returns: string
// cow function
animal.cow(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.cow(); // => "Kostroma cattle"
animal.cow(); // 'Brava'
Crocodilia
Returns a random crocodilian species.
Returns: string
// crocodilia function
animal.crocodilia(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.crocodilia(); // => "Morelet’s Crocodile"
animal.crocodilia(); // 'Philippine Crocodile'
Dog
Returns a random dog breed.
Returns: string
// dog function
animal.dog(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.dog(); // => "Kuvasz"
animal.dog(); // 'Irish Water Spaniel'
Fish
Returns a random fish species.
Returns: string
// fish function
animal.fish(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.fish(); // => "Hilsa shad"
animal.fish(); // 'Mandarin fish'
Horse
Returns a random horse breed.
Returns: string
// horse function
animal.horse(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.horse(); // => "M'Par"
animal.horse(); // 'Swedish Warmblood'
Insect
Returns a random insect species.
Returns: string
// insect function
animal.insect(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.insect(); // => "Mossyrose gall wasp"
animal.insect(); // 'Pyramid ant'
Lion
Returns a random lion species.
Returns: string
// lion function
animal.lion(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.lion(); // => "Northeast Congo Lion"
animal.lion(); // 'Northeast Congo Lion'
Rabbit
Returns a random rabbit species.
Returns: string
// rabbit function
animal.rabbit(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.rabbit(); // => "Havana"
animal.rabbit(); // 'Florida White'
Snake
Returns a random snake species.
Returns: string
// snake function
animal.snake(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.snake(); // => "Selayer reticulated python"
animal.snake(); // 'Eyelash viper'
Type
Returns a random animal type.
Returns: string
// type function
animal.type(): string
// import
import { useFaker } from 'next-faker';
const { animal } = useFaker();
// usage
animal.type(); // => "crocodilia"
animal.type(); // 'crocodilia'