1.0.0 • Published 4 years ago
@fakerjs/sport v1.0.0
Install
npm
npm install @fakerjs/sport --save-devyarn
yarn add @fakerjs/sport -DUsage
import sport from '@fakerjs/sport';
sport({locale: 'en_US'}).unusual();
//=> Apple Racing
// Allowed locale: en_US
sport().unusual();
//=> Apple Racing
sport().ancientOlympics();
//=> Boxing
sport().summerOlympics();
//=> Archery
sport().summerParalympics();
//=> Archery
sport().winterOlympics();
//=> Biathlon
sport().winterParalympics();
//=> SnowboardTests
Run tests
npm run testLicense
The MIT License (MIT) Copyright (c) Sergey Romanenko
1.0.0
4 years ago