Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.26 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.26 KB

Game

Game package provides functionality to generate a fake game value.

Version node-current License

Install

npm

npm install @fakerjs/game --save-dev

yarn

yarn add @fakerjs/game -D

Usage

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 

Tests

Run tests

npm run test

License

The MIT License (MIT) Copyright (c) Sergey Romanenko