1.0.0 • Published 2 years ago
@fakerjs/sport v1.0.0
Install
npm
npm install @fakerjs/sport --save-dev
yarn
yarn add @fakerjs/sport -D
Usage
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();
//=> Snowboard
Tests
Run tests
npm run test
License
The MIT License (MIT) Copyright (c) Sergey Romanenko
1.0.0
2 years ago