{"id":20538391,"url":"https://github.com/celtian/fifatables","last_synced_at":"2025-04-23T23:07:20.985Z","repository":{"id":45798702,"uuid":"403145786","full_name":"Celtian/fifatables","owner":"Celtian","description":"Definition of Fifa Soccer Game tables","archived":false,"fork":false,"pushed_at":"2025-04-14T08:50:40.000Z","size":55565,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T23:07:00.241Z","etag":null,"topics":["library","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Celtian.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-04T20:01:28.000Z","updated_at":"2025-04-14T08:50:42.000Z","dependencies_parsed_at":"2025-04-14T09:46:45.505Z","dependency_job_id":null,"html_url":"https://github.com/Celtian/fifatables","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Celtian","download_url":"https://codeload.github.com/Celtian/fifatables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528731,"owners_count":21445516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library","typescript"],"created_at":"2024-11-16T00:46:30.333Z","updated_at":"2025-04-23T23:07:20.979Z","avatar_url":"https://github.com/Celtian.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Celtian/fifatables\" target=\"blank\"\u003e\u003cimg src=\"assets/logo.svg?sanitize=true\" alt=\"\" width=\"120\"\u003e\u003c/a\u003e\n  \u003ch1 align=\"center\"\u003eFifaTables\u003c/h1\u003e\n\u003c/p\u003e\n\n[![npm version](https://badge.fury.io/js/fifatables.svg)](https://badge.fury.io/js/fifatables)\n[![Package License](https://img.shields.io/npm/l/fifatables.svg)](https://www.npmjs.com/fifatables)\n[![NPM Downloads](https://img.shields.io/npm/dm/fifatables.svg)](https://www.npmjs.com/fifatables)\n[![Build \u0026 Publish](https://github.com/celtian/fifatables/workflows/Build%20\u0026%20Publish/badge.svg)](https://github.com/celtian/fifatables/actions)\n[![codecov](https://codecov.io/gh/Celtian/fifatables/branch/master/graph/badge.svg?token=1IRUKIKM0D)](https://codecov.io/gh/celtian/fifatables/)\n[![stars](https://badgen.net/github/stars/celtian/fifatables)](https://github.com/celtian/fifatables/)\n[![forks](https://badgen.net/github/forks/celtian/fifatables)](https://github.com/celtian/fifatables/)\n[![HitCount](http://hits.dwyl.com/celtian/fifatables.svg)](http://hits.dwyl.com/celtian/fifatables)\n\n\u003e Library for managing Fifa Soccer tables\n\n## 🛠️ Install\n\n_Nodejs 12 or higher need to be installed first_\n\n```terminal\nnpm install fifatables\n```\n\nor\n\n```terminal\nyarn add fifatables\n```\n\n## 🚀 Quick start\n\n_Type this into your ts file._\n\n```terminal\n  import { Fifa, fifaConfig, fifaTableConfig, formatRawValue, sortByOrder, Table } from 'fifatables';\n\n  // config class with table definitions for fifa 11\n  console.log(fifaConfig(Fifa.Fifa11));\n\n  // read only config for single table\n  console.log(fifaTableConfig(Fifa.Fifa11, Table.Leagues));\n\n  // sort config by order\n  console.log(fifaTableConfig(Fifa.Fifa11, Table.Leagues).sort(sortByOrder));\n\n  // convert string into correct datatype based on config\n  console.log(formatRawValue(fifaTableConfig(Fifa.Fifa11, Table.Leagues)[0], '2000'));\n```\n\n## 🛠️ Options\n\n### Supported versions of Fifa Soccer\n\n**Fifa 11 - Fifa 23**\n\n### Supported tables\n\n| Table                  | Supported |\n| ---------------------- | --------- |\n| **competition**        | ✓         |\n| **dcplayernames**      | ✓         |\n| **formations**         | ✓         |\n| **leaguerefereelinks** | ✓         |\n| **leagues**            | ✓         |\n| **leagueteamlinks**    | ✓         |\n| **manager**            | ✓         |\n| **nations**            | ✓         |\n| **playerboots**        | ✓         |\n| **player_grudgelove**  | ✓         |\n| **playerloans**        | ✓         |\n| **playernames**        | ✓         |\n| **players**            | ✓         |\n| **previousteam**       | ✓         |\n| **referee**            | ✓         |\n| **rivals**             | ✓         |\n| **rowteamnationlinks** | ✓         |\n| **shoecolors**         | ✓         |\n| **stadiums**           | ✓         |\n| **teamballs**          | ✓         |\n| **teamkits**           | ✓         |\n| **teamnationlinks**    | ✓         |\n| **teamplayerlinks**    | ✓         |\n| **teams**              | ✓         |\n| **teamstadiumlinks**   | ✓         |\n\n## 🪪 License\n\nCopyright \u0026copy; 2021 - 2025 [Dominik Hladik](https://github.com/Celtian)\n\nAll contents are licensed under the [MIT license].\n\n[mit license]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceltian%2Ffifatables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceltian%2Ffifatables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceltian%2Ffifatables/lists"}