0.2.2 • Published 7 months ago

fifarating v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

npm version Package License NPM Downloads Build & Publish codecov stars forks HitCount

Utils for Fifa Soccer Game dates

🛠️ Install

Nodejs 12 or higher need to be installed first

npm install fifarating

or

yarn add fifarating

🚀 Quick start

Type this into your ts file.

import { AttributesUtils, CalculateUtils, ConfigUtils, Fifa, Position } from 'fifarating';

const fifa = Fifa.Fifa12;
const position = Position.GK;
const defaultOverall = 75;
const reputation = 5;
const attributes = AttributesUtils.init(defaultOverall);

console.log(ConfigUtils.fifa(fifa));

console.log(ConfigUtils.fifaPosition(fifa, position));

console.log(CalculateUtils.rawOverall(attributes, fifa, position));

console.log(CalculateUtils.displayOverall(attributes, fifa, position, reputation));

console.log(AttributesUtils.init(defaultOverall));

console.log(AttributesUtils.setRawOverall(AttributesUtils.init(defaultOverall), fifa, position, defaultOverall + 5));

console.log(AttributesUtils.generateRawOverall(fifa, position, defaultOverall));

Supported versions of Fifa Soccer

Fifa 12 - Fifa 23

🪪 License

Copyright © 2023 - 2024 Dominik Hladik

All contents are licensed under the MIT license.

0.2.2

7 months ago

0.2.1

12 months ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.3

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago