Game package provides functionality to generate a fake game value.
npm
npm install @fakerjs/game --save-dev
yarn
yarn add @fakerjs/game -D
import game from '@fakerjs/game';
game({locale: 'en_US'}).title();
//=> Half-Life
// Allowed locale: en_US
game().title();
//=> Half-Life
game().genre();
//=> Action
game().platform();
//=> Windows
Run tests
npm run test
The MIT License (MIT) Copyright (c) Sergey Romanenko