2.2.0 • Published 4 years ago
@fakerjs/animal v2.2.0
Install
npm
npm install @fakerjs/animal --save-devyarn
yarn add @fakerjs/animal -DUsage
import animal from '@fakerjs/animal';
animal();
//=> Snow Leopard
animal({type: 'zoo'});
//=> Snow Leopard
animal({type: 'zoo', locale: 'en_US'});
//=> Snow Leopard
// Allowed type: ocean, desert, grassland, forest, farm, pet, zoo
// Allowed locale: en_USTests
Run tests
npm run testLicense
The MIT License (MIT) Copyright (c) Sergey Romanenko