Skip to content

Sport package provides functionality to generate a fake sport value.

License

Notifications You must be signed in to change notification settings

faker-javascript/sport

Repository files navigation

Sport

Sport package provides functionality to generate a fake sport value.

Version node-current License

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

About

Sport package provides functionality to generate a fake sport value.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published