Skip to content

Animal package provides functionality to generate a fake animal value.

License

Notifications You must be signed in to change notification settings

faker-javascript/animal

Animal

Animal package provides functionality to generate a fake animal value.

Versionnode-currentLicense

Install

npm

npm install @fakerjs/animal --save-dev 

yarn

yarn add @fakerjs/animal -D 

Usage

importanimalfrom'@fakerjs/animal';animal();//=> Snow Leopardanimal({type: 'zoo'});//=> Snow Leopardanimal({type: 'zoo',locale: 'en_US'});//=> Snow Leopard// Allowed type: ocean, desert, grassland, forest, farm, pet, zoo// Allowed locale: en_US

Tests

Run tests

npm run test 

License

The MIT License (MIT) Copyright (c) Sergey Romanenko

About

Animal package provides functionality to generate a fake animal value.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published