{"id":20538371,"url":"https://github.com/celtian/fifatables-stream","last_synced_at":"2026-05-27T13:31:35.926Z","repository":{"id":57712945,"uuid":"515331283","full_name":"Celtian/fifatables-stream","owner":"Celtian","description":"Streams for Fifa Soccer Game tables","archived":false,"fork":false,"pushed_at":"2023-04-02T12:10:52.000Z","size":45203,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T16:41:32.926Z","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}},"created_at":"2022-07-18T20:26:47.000Z","updated_at":"2023-03-16T16:52:28.000Z","dependencies_parsed_at":"2023-01-31T07:45:16.043Z","dependency_job_id":null,"html_url":"https://github.com/Celtian/fifatables-stream","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Ffifatables-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Celtian","download_url":"https://codeload.github.com/Celtian/fifatables-stream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242144500,"owners_count":20078966,"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:27.090Z","updated_at":"2026-05-27T13:31:35.896Z","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-stream\" target=\"blank\"\u003e\u003cimg src=\"assets/logo.svg?sanitize=true\" alt=\"\" width=\"120\"\u003e\u003c/a\u003e\n  \u003ch1 align=\"center\"\u003efifatables-stream\u003c/h1\u003e\n\u003c/p\u003e\n\n[![npm version](https://badge.fury.io/js/fifatables-stream.svg)](https://badge.fury.io/js/fifatables-stream)\n[![Package License](https://img.shields.io/npm/l/fifatables-stream.svg)](https://www.npmjs.com/fifatables-stream)\n[![NPM Downloads](https://img.shields.io/npm/dm/fifatables-stream.svg)](https://www.npmjs.com/fifatables-stream)\n[![Build \u0026 Publish](https://github.com/celtian/fifatables-stream/workflows/Build%20\u0026%20Publish/badge.svg)](https://github.com/celtian/fifatables-stream/actions)\n[![codecov](https://codecov.io/gh/Celtian/fifatables-stream/branch/master/graph/badge.svg?token=1IRUKIKM0D)](https://codecov.io/gh/celtian/fifatables-stream/)\n[![stars](https://badgen.net/github/stars/celtian/fifatables-stream)](https://github.com/celtian/fifatables-stream/)\n[![forks](https://badgen.net/github/forks/celtian/fifatables-stream)](https://github.com/celtian/fifatables-stream/)\n[![HitCount](http://hits.dwyl.com/celtian/fifatables-stream.svg)](http://hits.dwyl.com/celtian/fifatables-stream)\n\n\u003e Library that provides stream for reading or writing data of Fifa Soccer tables\n\n## Install\n\n_Nodejs 12 or higher need to be installed first_\n\n```terminal\nnpm install fifatables-stream\n```\n\nor\n\n```terminal\nyarn add fifatables-stream\n```\n\n## Quick start\n\n_Type this into your ts file._\n\n```terminal\n  import { join } from 'path';\n  import { cwd } from 'process';\n  import { Fifa, fifaConfig, Table } from 'fifatables';\n  import { readCsvStream, writeCsvStream } from 'fifatables-stream';\n\n  // read league.txt from Fifa 11\n  readCsvStream(join(cwd(), 'examples', Fifa.Fifa11), Table.Leagues, fifaConfig(Fifa.Fifa11).leagues)\n    .on('data', (buffer: Buffer) =\u003e console.log(JSON.parse(buffer.toString())))\n    .on('finish', () =\u003e console.log('Reading finished.'));\n\n  // read league.txt from Fifa 11 and write it in Fifa 21 format\n  const table = Table.Leagues;\n  const readStream = readCsvStream(join(cwd(), 'examples', Fifa.Fifa11), table, fifaConfig(Fifa.Fifa11).leagues);\n  writeCsvStream(readStream, join(cwd(), 'output', Fifa.Fifa21), table, fifaConfig(Fifa.Fifa21).leagues)\n    .on('data', (buffer: Buffer) =\u003e console.log(JSON.parse(buffer.toString())))\n    .on('finish', () =\u003e console.log('Writing finished.'));\n```\n\n## Supported versions of Fifa Soccer\n\nSee library [fifatables](https://www.npmjs.com/package/fifatables).\n\n## Supported tables\n\nSee library [fifatables](https://www.npmjs.com/package/fifatables).\n\n## License\n\nCopyright \u0026copy; 2022 - 2023 [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-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fceltian%2Ffifatables-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fceltian%2Ffifatables-stream/lists"}