https://github.com/celtian/fifatables
Definition of Fifa Soccer Game tables
https://github.com/celtian/fifatables
library typescript
Last synced: 3 months ago
JSON representation
Definition of Fifa Soccer Game tables
- Host: GitHub
- URL: https://github.com/celtian/fifatables
- Owner: Celtian
- License: mit
- Created: 2021-09-04T20:01:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T08:50:40.000Z (3 months ago)
- Last Synced: 2025-04-23T23:07:00.241Z (3 months ago)
- Topics: library, typescript
- Language: TypeScript
- Homepage:
- Size: 53 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
FifaTables
[](https://badge.fury.io/js/fifatables)
[](https://www.npmjs.com/fifatables)
[](https://www.npmjs.com/fifatables)
[](https://github.com/celtian/fifatables/actions)
[](https://codecov.io/gh/celtian/fifatables/)
[](https://github.com/celtian/fifatables/)
[](https://github.com/celtian/fifatables/)
[](http://hits.dwyl.com/celtian/fifatables)> Library for managing Fifa Soccer tables
## 🛠️ Install
_Nodejs 12 or higher need to be installed first_
```terminal
npm install fifatables
```or
```terminal
yarn add fifatables
```## 🚀 Quick start
_Type this into your ts file._
```terminal
import { Fifa, fifaConfig, fifaTableConfig, formatRawValue, sortByOrder, Table } from 'fifatables';// config class with table definitions for fifa 11
console.log(fifaConfig(Fifa.Fifa11));// read only config for single table
console.log(fifaTableConfig(Fifa.Fifa11, Table.Leagues));// sort config by order
console.log(fifaTableConfig(Fifa.Fifa11, Table.Leagues).sort(sortByOrder));// convert string into correct datatype based on config
console.log(formatRawValue(fifaTableConfig(Fifa.Fifa11, Table.Leagues)[0], '2000'));
```## 🛠️ Options
### Supported versions of Fifa Soccer
**Fifa 11 - Fifa 23**
### Supported tables
| Table | Supported |
| ---------------------- | --------- |
| **competition** | ✓ |
| **dcplayernames** | ✓ |
| **formations** | ✓ |
| **leaguerefereelinks** | ✓ |
| **leagues** | ✓ |
| **leagueteamlinks** | ✓ |
| **manager** | ✓ |
| **nations** | ✓ |
| **playerboots** | ✓ |
| **player_grudgelove** | ✓ |
| **playerloans** | ✓ |
| **playernames** | ✓ |
| **players** | ✓ |
| **previousteam** | ✓ |
| **referee** | ✓ |
| **rivals** | ✓ |
| **rowteamnationlinks** | ✓ |
| **shoecolors** | ✓ |
| **stadiums** | ✓ |
| **teamballs** | ✓ |
| **teamkits** | ✓ |
| **teamnationlinks** | ✓ |
| **teamplayerlinks** | ✓ |
| **teams** | ✓ |
| **teamstadiumlinks** | ✓ |## 🪪 License
Copyright © 2021 - 2025 [Dominik Hladik](https://github.com/Celtian)
All contents are licensed under the [MIT license].
[mit license]: LICENSE