Animal package provides functionality to generate a fake animal value.
npm
npm install @fakerjs/animal --save-dev yarn
yarn add @fakerjs/animal -D 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_USRun tests
npm run test The MIT License (MIT) Copyright (c) Sergey Romanenko